atompy.get_axes_margins_inches#
- atompy.get_axes_margins_inches(ax=None, renderer=None)[source]#
Get left, right, top, bottom margins of ax.
- Parameters:
- ax
matplotlib.axes.Axes, optional If
None, use last active axes.- renderer
matplotlib.backend_bases.RendererBase, optional The renderer used to draw the figure.
Generally not necessary to pass it. If, however, you use a backend that takes a long time to render (e.g., a LuaLaTeX pgf backend), it may increase performance by passing the renderer. Use
get_renderer()to get your current renderer.
- ax
- Returns: