move_axes

Contents

move_axes#

tollan.plot.mpl.move_axes(ax: Any, ax_new: Any, *, remove: bool = True) None[source]#

Move an Axes object from a figure to a new one.

Parameters:
  • ax (Any) – Axes object to move

  • ax_new (Any) – New Axes object (will be replaced by ax)

  • remove (bool, optional) – If True, close the old figure, by default True