MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / new_figure_manager

Method new_figure_manager

lib/matplotlib/backend_bases.py:3650–3656  ·  view source on GitHub ↗

Create a new figure manager instance.

(cls, num, *args, **kwargs)

Source from the content-addressed store, hash-verified

3648
3649 @classmethod
3650 def new_figure_manager(cls, num, *args, **kwargs):
3651 """Create a new figure manager instance."""
3652 # This import needs to happen here due to circular imports.
3653 from matplotlib.figure import Figure
3654 fig_cls = kwargs.pop('FigureClass', Figure)
3655 fig = fig_cls(*args, **kwargs)
3656 return cls.new_figure_manager_given_figure(num, fig)
3657
3658 @classmethod
3659 def new_figure_manager_given_figure(cls, num, figure):

Callers 1

new_figure_managerFunction · 0.80

Calls 2

popMethod · 0.45

Tested by

no test coverage detected