widgets
widgets
matplotlib.widgets
GUI neutral widgets
Widgets that are designed to work for any of the GUI backends. All of these widgets require you to predefine a matplotlib.axes.Axes
instance and pass that as the first arg. matplotlib doesn’t try to be too smart with respect to layout – you will have to figure out how wide and tall you want your Axes to be to accommodate your widget.
-
class matplotlib.widgets.AxesWidget(ax)
-
Bases:
matplotlib.widgets.Widget
Widget that is connected to a single 登录查看完整内容