enaml.widgets.mpl_canvas

Classes

MPLCanvas A control which can be used to embded a matplotlib figure.
class enaml.widgets.mpl_canvas.MPLCanvas(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A control which can be used to embded a matplotlib figure.

figure

The matplotlib figure to display in the widget.

toolbar_visible

Whether or not the matplotlib figure toolbar is visible.

hug_width

Matplotlib figures expand freely in height and width by default.

proxy

A reference to the ProxyMPLCanvas object.