Utility function to show a figure regardless of the library being used.
figure (object, optional) – matplotlib or MayaVi figure to show.