Page Contents

This Page

MPLCanvas

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 = None

The matplotlib figure to display in the widget.

toolbar_visible = None

Whether or not the matplotlib figure toolbar is visible.

hug_width = None

Matplotlib figures expand freely in height and width by default.

snapshot()[source]

Get the snapshot dict for the MPLCanvas.

bind()[source]

Bind the change handlers for the MPLCanvas.

__implements__

alias of __NoInterface__

Backends

Qt

Wx