FigureCanvasD3

The canvas the figure renders into. Calls the draw and print fig methods, creates the renderers, etc.

Note: GUI templates will want to connect events for button presses, mouse movements and key presses to functions that call the base class methods button_press_event, button_release_event, motion_notify_event, key_press_event, and key_release_event. See the implementations of the interactive backends for examples.

Attributes

figure : ~matplotlib.figure.Figure A high-level Figure instance

manager_class: FigureManagerD3

 

__init__(self, figure=None, manager=None): 

 

draw(self, clear=False): 

Draw the figure using the renderer.

It is important that this method actually walk the artist tree even if not output is produced because this will trigger deferred work (like computing limits auto-limits and tick values) that users may want access to before saving to disk.

 

render_objects(figure, obj): 

Feedback

Examples

Templates

Documentation