| |
- AxisMenu
- FLTKButton
- matplotlib.backends.backend_agg.FigureCanvasAgg(matplotlib.backend_bases.FigureCanvasBase)
-
- FigureCanvasFltkAgg
- matplotlib.backend_bases.FigureManagerBase
-
- FigureManagerFltkAgg
- FigureManagerFltkAgg
- fltk.Fl_Widget(fltk.Fl_WidgetBase)
-
- FltkCanvas
- NavigationToolbar
- matplotlib.backend_bases.NavigationToolbar2
-
- NavigationToolbar2FltkAgg
class FigureCanvasFltkAgg(matplotlib.backends.backend_agg.FigureCanvasAgg) |
| |
- Method resolution order:
- FigureCanvasFltkAgg
- matplotlib.backends.backend_agg.FigureCanvasAgg
- matplotlib.backend_bases.FigureCanvasBase
Methods defined here:
- __init__(self, figure)
- draw(self)
- print_figure(self, filename, dpi=150, facecolor='w', edgecolor='w', orientation='portrait')
- resize(self, size)
- show = draw(self)
- widget(self)
Methods inherited from matplotlib.backends.backend_agg.FigureCanvasAgg:
- buffer_rgba(self)
- get_renderer(self)
- tostring_argb(self)
- tostring_rgb(self)
Methods inherited from matplotlib.backend_bases.FigureCanvasBase:
- button_press_event(self, x, y, button, guiEvent=None)
- Backend derived classes should call this function on any mouse
button press. x,y are the canvas coords: 0,0 is lower, left.
button and key are as defined in MouseEvent
- button_release_event(self, x, y, button, guiEvent=None)
- Backend derived classes should call this function on any mouse
button release. x,y are the canvas coords: 0,0 is lower, left.
button and key are as defined in MouseEvent
- draw_cursor(self, event)
- Draw a cursor in the event.axes if inaxes is not None. Use
native GUI drawing for efficiency if possible
- key_press_event(self, key, guiEvent=None)
- key_release_event(self, key, guiEvent=None)
- motion_notify_event(self, x, y, guiEvent=None)
- Backend derived classes should call this function on any mouse
button release. x,y are the canvas coords: 0,0 is lower, left.
button and key are as defined in MouseEvent
- mpl_connect(self, s, func)
- Connect event with string s to func. The signature of func is
def func(event)
where event is a MplEvent. The following events are recognized
'key_press_event'
'button_press_event'
'button_release_event'
'motion_notify_event'
For the three events above, if the mouse is over the axes,
the variable event.inaxes will be set to the axes it is over,
and additionally, the variables event.xdata and event.ydata
will be defined. This is the mouse location in data coords.
See backend_bases.MplEvent.
return value is a connection id that can be used with
mpl_disconnect
- mpl_disconnect(self, cid)
- Connect s to func. return an id that can be used with disconnect
Method should return None
- switch_backends(self, FigureCanvasClass)
- instantiate an instance of FigureCanvasClass
This is used for backend switching, eg, to instantiate a
FigureCanvasPS from a FigureCanvasGTK. Note, deep copying is
not done, so any changes to one of the instances (eg, setting
figure size or line props), will be reflected in the other
Data and other attributes inherited from matplotlib.backend_bases.FigureCanvasBase:
- events = ('key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'motion_notify_event')
|
class NavigationToolbar2FltkAgg(matplotlib.backend_bases.NavigationToolbar2) |
|
Public attriubutes
canvas - the FigureCanvas
figman - the Figure manager |
|
Methods defined here:
- __init__(self, canvas, figman)
- close(self)
- dynamic_update(self)
- pan(self, *args)
- set_active(self, ind)
- set_cursor(self, cursor)
- set_message(self, s)
- update(self)
- widget(self)
- zoom(self, *args)
Methods inherited from matplotlib.backend_bases.NavigationToolbar2:
- back(self, *args)
- move back up the view lim stack
- drag_pan(self, event)
- the drag callback in pan/zoom mode
- draw(self)
- redraw the canvases, update the locators
- draw_rubberband(self, event, x0, y0, x1, y1)
- draw a rectangle rubberband to indicate zoom limits
- forward(self, *args)
- move forward in the view lim stack
- home(self, *args)
- restore the original view
- mouse_move(self, event)
- press(self, event)
- this will be called whenver a mouse button is pressed
- press_pan(self, event)
- the press mouse button in pan/zoom mode callback
- press_zoom(self, event)
- the press mouse button in zoom to rect mode callback
- push_current(self)
- push the current view limits onto the stack
- release(self, event)
- this will be called whenever mouse button is released
- release_pan(self, event)
- the release mouse button callback in pan/zoom mode
- release_zoom(self, event)
- the release mouse button callback in zoom to rect mode
- save_figure(self, *args)
- save the current figure
| |