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

Method create_with_canvas

lib/matplotlib/backend_bases.py:2803–2810  ·  view source on GitHub ↗

Create a manager for a given *figure* using a specific *canvas_class*. Backends should override this method if they have specific needs for setting up the canvas or the manager.

(cls, canvas_class, figure, num)

Source from the content-addressed store, hash-verified

2801
2802 @classmethod
2803 def create_with_canvas(cls, canvas_class, figure, num):
2804 """
2805 Create a manager for a given *figure* using a specific *canvas_class*.
2806
2807 Backends should override this method if they have specific needs for
2808 setting up the canvas or the manager.
2809 """
2810 return cls(canvas_class(figure), num)
2811
2812 @classmethod
2813 def start_main_loop(cls):

Callers 1

new_managerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected