Skip to main content
Ctrl+K

atompy 4.20.3 documentation

  • Plotting
  • Data Analysis
  • Input/Output
  • Physics
  • Examples & Tutorials
  • Plotting
  • Data Analysis
  • Input/Output
  • Physics
  • Examples & Tutorials

Section Navigation

  • atompy.make_me_nice
  • atompy.add_abc
  • atompy.set_axes_size
  • atompy.align_axes_vertically
  • atompy.align_axes_horizontally
  • atompy.get_column_pads_inches
  • atompy.get_row_pads_inches
  • atompy.set_min_column_pads
  • atompy.set_min_row_pads
  • atompy.get_sorted_axes_grid
  • atompy.get_figure_margins_inches
  • atompy.get_axes_position_inch
  • atompy.get_axes_tightbbox_inch
  • atompy.get_axes_margins_inches
  • atompy.get_renderer
  • atompy.square_polar_axes
  • atompy.add_polar_guideline
  • atompy.set_color_cycle
  • atompy._set_theme_atompy
  • atompy.set_latex_backend
  • atompy.add_colorbar
  • atompy.update_colorbars
  • atompy.clear_colorbars
  • atompy.cmap_from_x_to_y
  • atompy.create_1d_plot
  • atompy.create_2d_plot
  • atompy.dotted
  • atompy.dash_dotted
  • atompy.dashed
  • atompy.textwithbox
  • atompy.ImshowData
  • atompy.PcolormeshData
  • atompy.Edges
  • atompy.AliasError
  • atompy.FigureWidthTooLargeError
  • Constants
  • Plotting
  • atompy.get_renderer

atompy.get_renderer#

atompy.get_renderer(fig)[source]#

Get the renderer of the fig.

Taken from https://stackoverflow.com/questions/22667224/get-text-bounding-box-independent-of-backend/

Parameters:
figmatplotlib.figure.Figure, optional

If None, use last active figure.

Returns:
renderermatplotlib.backend_bases.RendererBase

previous

atompy.get_axes_margins_inches

next

atompy.square_polar_axes

On this page
  • get_renderer()

This Page

  • Show Source

© Copyright MIT.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.16.1.