@header@
 
 
matplotlib.backends.backend_gtkcairo
index
/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/backends/backend_gtkcairo.py

GTK+ Matplotlib interface using cairo (not GDK) drawing operations.
Author: Steve Chaplin

 
Modules
       
matplotlib.backends.backend_cairo
matplotlib.cbook
gtk.gdk
gobject
gtk
matplotlib.lines
matplotlib
os
pango
sys

 
Classes
       
matplotlib.backends.backend_cairo.FigureCanvasCairo(matplotlib.backend_bases.FigureCanvasBase)
FigureCanvasGTKCairo(matplotlib.backends.backend_cairo.FigureCanvasCairo, matplotlib.backends.backend_gtk.FigureCanvasGTK)
matplotlib.backends.backend_cairo.RendererCairo(matplotlib.backend_bases.RendererBase)
RendererGTKCairo
matplotlib.backends.backend_gtk.FigureCanvasGTK(gtk.DrawingArea, matplotlib.backend_bases.FigureCanvasBase)
FigureCanvasGTKCairo(matplotlib.backends.backend_cairo.FigureCanvasCairo, matplotlib.backends.backend_gtk.FigureCanvasGTK)
matplotlib.backends.backend_gtk.FigureManagerGTK(matplotlib.backend_bases.FigureManagerBase)
FigureManagerGTKCairo
matplotlib.backends.backend_gtk.NavigationToolbar2GTK(matplotlib.backend_bases.NavigationToolbar2, gtk.Toolbar)
NavigationToolbar2Cairo

 
class FigureCanvasGTKCairo(matplotlib.backends.backend_cairo.FigureCanvasCairo, matplotlib.backends.backend_gtk.FigureCanvasGTK)
    
Method resolution order:
FigureCanvasGTKCairo
matplotlib.backends.backend_cairo.FigureCanvasCairo
matplotlib.backends.backend_gtk.FigureCanvasGTK
gtk.DrawingArea
gtk.Widget
gtk.Object
gobject.GObject
gtk.Buildable
atk.ImplementorIface
gobject.GInterface
__builtin__.object
matplotlib.backend_bases.FigureCanvasBase

Data and other attributes defined here:
filetypes = {'emf': 'Enhanced Metafile', 'eps': 'Encapsulated Postscript', 'jpeg': 'JPEG', 'jpg': 'JPEG', 'pdf': 'Portable Document Format', 'png': 'Portable Network Graphics', 'ps': 'Postscript', 'raw': 'Raw RGBA bitmap', 'rgba': 'Raw RGBA bitmap', 'svg': 'Scalable Vector Graphics', ...}

Methods inherited from matplotlib.backends.backend_cairo.FigureCanvasCairo:
get_default_filetype(self)
print_pdf(self, fobj, *args, **kwargs)
print_png(self, fobj, *args, **kwargs)
print_ps(self, fobj, *args, **kwargs)
print_svg(self, fobj, *args, **kwargs)
print_svgz(self, fobj, *args, **kwargs)

Methods inherited from matplotlib.backends.backend_gtk.FigureCanvasGTK:
__init__(self, figure)
button_press_event(self, widget, event)
button_release_event(self, widget, event)
configure_event(self, widget, event)
draw(self)
draw_idle(self)
expose_event(self, widget, event)
Expose_event for all GTK backends. Should not be overridden.
flush_events(self)
key_press_event(self, widget, event)
key_release_event(self, widget, event)
motion_notify_event(self, widget, event)
print_jpeg(self, filename, *args, **kwargs)
print_jpg = print_jpeg(self, filename, *args, **kwargs)
scroll_event(self, widget, event)

Data and other attributes inherited from matplotlib.backends.backend_gtk.FigureCanvasGTK:
event_mask = <flags GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MA...ASK | GDK_LEAVE_NOTIFY_MASK of type GdkEventMask>
keyvald = {65288: 'backspace', 65293: 'enter', 65299: 'break', 65300: 'scroll_lock', 65307: 'escape', 65360: 'home', 65361: 'left', 65362: 'up', 65363: 'right', 65364: 'down', ...}

Methods inherited from gtk.DrawingArea:
size(...)

Data and other attributes inherited from gtk.DrawingArea:
__gtype__ = <GType GtkDrawingArea (16541216)>

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
add_mnemonic_label(...)
can_activate_accel(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_add_image_targets(...)
drag_dest_add_text_targets(...)
drag_dest_add_uri_targets(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_get_track_motion(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_set_track_motion(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_add_image_targets(...)
drag_source_add_text_targets(...)
drag_source_add_uri_targets(...)
drag_source_get_target_list(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_name(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_set_target_list(...)
drag_source_unset(...)
drag_unhighlight(...)
ensure_style(...)
error_bell(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_action(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_clipboard(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_display(...)
get_events(...)
get_extension_events(...)
get_has_tooltip(...)
get_modifier_style(...)
get_name(...)
get_no_show_all(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_root_window(...)
get_screen(...)
get_settings(...)
get_size_request(...)
get_style(...)
get_tooltip_markup(...)
get_tooltip_text(...)
get_tooltip_window(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
has_screen(...)
hide(...)
hide_all(...)
hide_on_delete(...)
input_shape_combine_mask(...)
intersect(...)
is_ancestor(...)
is_composited(...)
is_focus(...)
keynav_failed(...)
list_mnemonic_labels(...)
map(...)
menu_get_for_attach_widget(...)
mnemonic_activate(...)
modify_base(...)
modify_bg(...)
modify_cursor(...)
modify_fg(...)
modify_font(...)
modify_style(...)
modify_text(...)
path(...)
queue_clear(...)
queue_clear_area(...)
queue_draw(...)
queue_draw_area(...)
queue_resize(...)
queue_resize_no_redraw(...)
rc_get_style(...)
realize(...)
region_intersect(...)
remove_accelerator(...)
remove_mnemonic_label(...)
render_icon(...)
reparent(...)
reset_rc_styles(...)
reset_shapes(...)
selection_add_target(...)
selection_add_targets(...)
selection_clear_targets(...)
selection_convert(...)
selection_owner_set(...)
selection_remove_all(...)
send_expose(...)
set_accel_path(...)
set_app_paintable(...)
set_child_visible(...)
set_colormap(...)
set_composite_name(...)
set_direction(...)
set_double_buffered(...)
set_events(...)
set_extension_events(...)
set_name(...)
set_no_show_all(...)
set_parent(...)
set_parent_window(...)
set_redraw_on_allocate(...)
set_scroll_adjustments(...)
set_sensitive(...)
set_size_request(...)
set_state(...)
set_style(...)
set_tooltip_markup(...)
set_tooltip_text(...)
set_tooltip_window(...)
set_uposition(...)
set_usize(...)
shape_combine_mask(...)
show(...)
show_all(...)
show_now(...)
size_allocate(...)
size_request(...)
style_get_property(...)
thaw_child_notify(...)
translate_coordinates(...)
trigger_tooltip_query(...)
unmap(...)
unparent(...)
unrealize(...)

Data descriptors inherited from gtk.Widget:
allocation
name
parent
saved_state
state
style
window

Data and other attributes inherited from gtk.Widget:
do_button_press_event = <built-in method do_button_press_event of GObjectMeta object at 0x1802240>
do_button_release_event = <built-in method do_button_release_event of GObjectMeta object at 0x1802240>
do_can_activate_accel = <built-in method do_can_activate_accel of GObjectMeta object at 0x1802240>
do_client_event = <built-in method do_client_event of GObjectMeta object at 0x1802240>
do_composited_changed = <built-in method do_composited_changed of GObjectMeta object at 0x1802240>
do_configure_event = <built-in method do_configure_event of GObjectMeta object at 0x1802240>
do_delete_event = <built-in method do_delete_event of GObjectMeta object at 0x1802240>
do_destroy_event = <built-in method do_destroy_event of GObjectMeta object at 0x1802240>
do_direction_changed = <built-in method do_direction_changed of GObjectMeta object at 0x1802240>
do_drag_begin = <built-in method do_drag_begin of GObjectMeta object at 0x1802240>
do_drag_data_delete = <built-in method do_drag_data_delete of GObjectMeta object at 0x1802240>
do_drag_data_get = <built-in method do_drag_data_get of GObjectMeta object at 0x1802240>
do_drag_data_received = <built-in method do_drag_data_received of GObjectMeta object at 0x1802240>
do_drag_drop = <built-in method do_drag_drop of GObjectMeta object at 0x1802240>
do_drag_end = <built-in method do_drag_end of GObjectMeta object at 0x1802240>
do_drag_leave = <built-in method do_drag_leave of GObjectMeta object at 0x1802240>
do_drag_motion = <built-in method do_drag_motion of GObjectMeta object at 0x1802240>
do_enter_notify_event = <built-in method do_enter_notify_event of GObjectMeta object at 0x1802240>
do_event = <built-in method do_event of GObjectMeta object at 0x1802240>
do_expose_event = <built-in method do_expose_event of GObjectMeta object at 0x1802240>
do_focus = <built-in method do_focus of GObjectMeta object at 0x1802240>
do_focus_in_event = <built-in method do_focus_in_event of GObjectMeta object at 0x1802240>
do_focus_out_event = <built-in method do_focus_out_event of GObjectMeta object at 0x1802240>
do_get_accessible = <built-in method do_get_accessible of GObjectMeta object at 0x1802240>
do_grab_broken_event = <built-in method do_grab_broken_event of GObjectMeta object at 0x1802240>
do_grab_focus = <built-in method do_grab_focus of GObjectMeta object at 0x1802240>
do_grab_notify = <built-in method do_grab_notify of GObjectMeta object at 0x1802240>
do_hide = <built-in method do_hide of GObjectMeta object at 0x1802240>
do_hide_all = <built-in method do_hide_all of GObjectMeta object at 0x1802240>
do_hierarchy_changed = <built-in method do_hierarchy_changed of GObjectMeta object at 0x1802240>
do_key_press_event = <built-in method do_key_press_event of GObjectMeta object at 0x1802240>
do_key_release_event = <built-in method do_key_release_event of GObjectMeta object at 0x1802240>
do_leave_notify_event = <built-in method do_leave_notify_event of GObjectMeta object at 0x1802240>
do_map = <built-in method do_map of GObjectMeta object at 0x1802240>
do_map_event = <built-in method do_map_event of GObjectMeta object at 0x1802240>
do_mnemonic_activate = <built-in method do_mnemonic_activate of GObjectMeta object at 0x1802240>
do_motion_notify_event = <built-in method do_motion_notify_event of GObjectMeta object at 0x1802240>
do_no_expose_event = <built-in method do_no_expose_event of GObjectMeta object at 0x1802240>
do_parent_set = <built-in method do_parent_set of GObjectMeta object at 0x1802240>
do_popup_menu = <built-in method do_popup_menu of GObjectMeta object at 0x1802240>
do_property_notify_event = <built-in method do_property_notify_event of GObjectMeta object at 0x1802240>
do_proximity_in_event = <built-in method do_proximity_in_event of GObjectMeta object at 0x1802240>
do_proximity_out_event = <built-in method do_proximity_out_event of GObjectMeta object at 0x1802240>
do_realize = <built-in method do_realize of GObjectMeta object at 0x1802240>
do_screen_changed = <built-in method do_screen_changed of GObjectMeta object at 0x1802240>
do_scroll_event = <built-in method do_scroll_event of GObjectMeta object at 0x1802240>
do_selection_clear_event = <built-in method do_selection_clear_event of GObjectMeta object at 0x1802240>
do_selection_get = <built-in method do_selection_get of GObjectMeta object at 0x1802240>
do_selection_notify_event = <built-in method do_selection_notify_event of GObjectMeta object at 0x1802240>
do_selection_received = <built-in method do_selection_received of GObjectMeta object at 0x1802240>
do_selection_request_event = <built-in method do_selection_request_event of GObjectMeta object at 0x1802240>
do_show = <built-in method do_show of GObjectMeta object at 0x1802240>
do_show_all = <built-in method do_show_all of GObjectMeta object at 0x1802240>
do_show_help = <built-in method do_show_help of GObjectMeta object at 0x1802240>
do_size_allocate = <built-in method do_size_allocate of GObjectMeta object at 0x1802240>
do_size_request = <built-in method do_size_request of GObjectMeta object at 0x1802240>
do_state_changed = <built-in method do_state_changed of GObjectMeta object at 0x1802240>
do_style_set = <built-in method do_style_set of GObjectMeta object at 0x1802240>
do_unmap = <built-in method do_unmap of GObjectMeta object at 0x1802240>
do_unmap_event = <built-in method do_unmap_event of GObjectMeta object at 0x1802240>
do_unrealize = <built-in method do_unrealize of GObjectMeta object at 0x1802240>
do_visibility_notify_event = <built-in method do_visibility_notify_event of GObjectMeta object at 0x1802240>
do_window_state_event = <built-in method do_window_state_event of GObjectMeta object at 0x1802240>
get_activate_signal = <built-in method get_activate_signal of GObjectMeta object at 0x1802240>
set_activate_signal = <built-in method set_activate_signal of GObjectMeta object at 0x1802240>
set_set_scroll_adjustments_signal = <built-in method set_set_scroll_adjustments_signal of GObjectMeta object at 0x1802240>

Methods inherited from gtk.Object:
flags(...)
remove_data(...)
remove_no_notify(...)
set_flags(...)
unset_flags(...)

Data and other attributes inherited from gtk.Object:
do_destroy = <built-in method do_destroy of GObjectMeta object at 0x1802240>

Methods inherited from gobject.GObject:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__delattr__(...)
x.__delattr__('name') <==> del x.name
__gobject_init__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
chain(...)
connect(...)
connect_after(...)
connect_object(...)
connect_object_after(...)
disconnect(...)
disconnect_by_func(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_properties(...)
get_property(...)
handler_block(...)
handler_block_by_func(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
handler_unblock_by_func(...)
notify(...)
set_data(...)
set_properties(...)
set_property(...)
stop_emission(...)
thaw_notify(...)
weak_ref(...)

Data descriptors inherited from gobject.GObject:
__dict__
__grefcount__

Data and other attributes inherited from gobject.GObject:
__gdoc__ = 'Object GtkDrawingArea\n\nSignals from GtkWidget:\n ...ointer\n\nSignals from GObject:\n notify (GParam)\n\n'
__new__ = <built-in method __new__ of GObjectMeta object at 0x2aaab3d70820>
T.__new__(S, ...) -> a new object with type S, a subtype of T
props = <gobject.GProps object at 0x18b23d0>

Methods inherited from gtk.Buildable:
add_child(...)
construct_child(...)
get_internal_child(...)
parser_finished(...)

Data and other attributes inherited from gtk.Buildable:
do_add_child = <built-in method do_add_child of GObjectMeta object at 0x1802240>
do_construct_child = <built-in method do_construct_child of GObjectMeta object at 0x1802240>
do_get_internal_child = <built-in method do_get_internal_child of GObjectMeta object at 0x1802240>
do_parser_finished = <built-in method do_parser_finished of GObjectMeta object at 0x1802240>
do_set_name = <built-in method do_set_name of GObjectMeta object at 0x1802240>

Methods inherited from atk.ImplementorIface:
ref_accessible(...)

Methods inherited from matplotlib.backend_bases.FigureCanvasBase:
blit(self, bbox=None)
blit the canvas in bbox (default entire canvas)
draw_cursor(self, event)
Draw a cursor in the event.axes if inaxes is not None.  Use
native GUI drawing for efficiency if possible
draw_event(self, renderer)
get_supported_filetypes(self)
get_supported_filetypes_grouped(self)
get_width_height(self)
return the figure width and height in points or pixels
(depending on the backend), truncated to integers
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
 
'resize_event',
'draw_event',
'key_press_event',
'key_release_event',
'button_press_event',
'button_release_event',
'scroll_event',
'motion_notify_event',
'pick_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)
disconnect callback id cid
onHilite(self, ev)
Mouse event processor which highlights the artists
under the cursor.  Connect this to the motion_notify_event
using canvas.mpl_connect('motion_notify_event',canvas.onHilite)
onRemove(self, ev)
Mouse event processor which removes the top artist
under the cursor.  Connect this to the mouse_press_event
using canvas.mpl_connect('mouse_press_event',canvas.onRemove)
pick(self, mouseevent)
pick_event(self, mouseevent, artist, **kwargs)
This method will be called by artists who are picked and will
fire off PickEvent callbacks registered listeners
print_bmp = print_raw(self, *args, **kwargs)
print_emf(self, *args, **kwargs)
print_eps(self, *args, **kwargs)
print_figure(self, filename, dpi=None, facecolor='w', edgecolor='w', orientation='portrait', format=None, **kwargs)
Render the figure to hardcopy. Set the figure patch face and edge
colors.  This is useful because some of the GUIs have a gray figure
face color background and you'll probably want to override this on
hardcopy.
 
filename    - can also be a file object on image backends
orientation - only currently applies to PostScript printing.
dpi - the dots per inch to save the figure in; if None, use savefig.dpi
facecolor - the facecolor of the figure
edgecolor - the edgecolor of the figure
orientation - 'landscape' | 'portrait' (not supported on all backends)
format - when set, forcibly set the file format to save to
print_raw(self, *args, **kwargs)
print_rgb = print_raw(self, *args, **kwargs)
resize(self, w, h)
set the canvas size in pixels
resize_event(self)
set_window_title(self, title)
Set the title text of the window containing the figure.  Note that
this has no effect if there is no window (eg, a PS backend).
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 = ('resize_event', 'draw_event', 'key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'scroll_event', 'motion_notify_event', 'pick_event')

 
class FigureManagerGTKCairo(matplotlib.backends.backend_gtk.FigureManagerGTK)
    
Method resolution order:
FigureManagerGTKCairo
matplotlib.backends.backend_gtk.FigureManagerGTK
matplotlib.backend_bases.FigureManagerBase

Methods inherited from matplotlib.backends.backend_gtk.FigureManagerGTK:
__init__(self, canvas, num)
destroy(self, *args)
full_screen_toggle(self)
resize(self, width, height)
set the canvas size in pixels
set_window_title(self, title)
show(self)

Methods inherited from matplotlib.backend_bases.FigureManagerBase:
key_press(self, event)
show_popup(self, msg)
Display message in a popup -- GUI only

 
class NavigationToolbar2Cairo(matplotlib.backends.backend_gtk.NavigationToolbar2GTK)
    
Method resolution order:
NavigationToolbar2Cairo
matplotlib.backends.backend_gtk.NavigationToolbar2GTK
matplotlib.backend_bases.NavigationToolbar2
gtk.Toolbar
gtk.Container
gtk.Widget
gtk.Object
gobject.GObject
gtk.Buildable
atk.ImplementorIface
gobject.GInterface
__builtin__.object

Methods inherited from matplotlib.backends.backend_gtk.NavigationToolbar2GTK:
__init__(self, canvas, window)
configure_subplots(self, button)
draw_rubberband(self, event, x0, y0, x1, y1)
adapted from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744
dynamic_update(self)
release(self, event)
save_figure(self, button)
set_cursor(self, cursor)
set_message(self, s)

Data and other attributes inherited from matplotlib.backends.backend_gtk.NavigationToolbar2GTK:
toolitems = (('Home', 'Reset original view', 'home.png', 'home'), ('Back', 'Back to previous view', 'back.png', 'back'), ('Forward', 'Forward to next view', 'forward.png', 'forward'), ('Pan', 'Pan axes with left mouse, zoom with right', 'move.png', 'pan'), ('Zoom', 'Zoom to rectangle', 'zoom_to_rect.png', 'zoom'), (None, None, None, None), ('Subplots', 'Configure subplots', 'subplots.png', 'configure_subplots'), ('Save', 'Save the figure', 'filesave.png', 'save_figure'))

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
forward(self, *args)
move forward in the view lim stack
home(self, *args)
restore the original view
mouse_move(self, event)
pan(self, *args)
Activate the pan/zoom tool. pan with left button, zoom with right
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 and position onto the stack
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
set_history_buttons(self)
enable or disable back/forward button
update(self)
reset the axes stack
zoom(self, *args)
activate zoom to rect mode

Methods inherited from gtk.Toolbar:
append_element(...)
append_item(...)
append_space(...)
append_widget(...)
get_drop_index(...)
get_icon_size(...)
get_item_index(...)
get_n_items(...)
get_nth_item(...)
get_orientation(...)
get_relief_style(...)
get_show_arrow(...)
get_style(...)
get_tooltips(...)
insert(...)
insert_element(...)
insert_item(...)
insert_space(...)
insert_stock(...)
insert_widget(...)
prepend_element(...)
prepend_item(...)
prepend_space(...)
prepend_widget(...)
remove_space(...)
set_drop_highlight_item(...)
set_icon_size(...)
set_orientation(...)
set_show_arrow(...)
set_style(...)
set_tooltips(...)
unset_icon_size(...)
unset_style(...)

Data and other attributes inherited from gtk.Toolbar:
__gtype__ = <GType GtkToolbar (16550736)>
do_orientation_changed = <built-in method do_orientation_changed of GObjectMeta object at 0x17f8330>
do_popup_context_menu = <built-in method do_popup_context_menu of GObjectMeta object at 0x17f8330>
do_style_changed = <built-in method do_style_changed of GObjectMeta object at 0x17f8330>

Methods inherited from gtk.Container:
__iter__(...)
x.__iter__() <==> iter(x)
__len__(...)
x.__len__() <==> len(x)
__nonzero__(...)
x.__nonzero__() <==> x != 0
add(...)
add_with_properties(...)
check_resize(...)
child_get(...)
child_get_property(...)
child_set(...)
child_set_property(...)
child_type(...)
children(...)
forall(...)
foreach(...)
get_border_width(...)
get_children(...)
get_focus_chain(...)
get_focus_hadjustment(...)
get_focus_vadjustment(...)
get_resize_mode(...)
propagate_expose(...)
remove(...)
resize_children(...)
set_border_width(...)
set_focus_chain(...)
set_focus_child(...)
set_focus_hadjustment(...)
set_focus_vadjustment(...)
set_reallocate_redraws(...)
set_resize_mode(...)
unset_focus_chain(...)

Data descriptors inherited from gtk.Container:
border_width
focus_child
has_focus_chain
need_resize
reallocate_redraws
resize_mode

Data and other attributes inherited from gtk.Container:
do_add = <built-in method do_add of GObjectMeta object at 0x17f8330>
do_check_resize = <built-in method do_check_resize of GObjectMeta object at 0x17f8330>
do_child_type = <built-in method do_child_type of GObjectMeta object at 0x17f8330>
do_composite_name = <built-in method do_composite_name of GObjectMeta object at 0x17f8330>
do_forall = <built-in method do_forall of GObjectMeta object at 0x17f8330>
do_get_child_property = <built-in method do_get_child_property of GObjectMeta object at 0x17f8330>
do_remove = <built-in method do_remove of GObjectMeta object at 0x17f8330>
do_set_child_property = <built-in method do_set_child_property of GObjectMeta object at 0x17f8330>
do_set_focus_child = <built-in method do_set_focus_child of GObjectMeta object at 0x17f8330>
install_child_property = <built-in method install_child_property of GObjectMeta object at 0x17f8330>
list_child_properties = <built-in method list_child_properties of GObjectMeta object at 0x17f8330>

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
add_mnemonic_label(...)
can_activate_accel(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_add_image_targets(...)
drag_dest_add_text_targets(...)
drag_dest_add_uri_targets(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_get_track_motion(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_set_track_motion(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_add_image_targets(...)
drag_source_add_text_targets(...)
drag_source_add_uri_targets(...)
drag_source_get_target_list(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_name(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_set_target_list(...)
drag_source_unset(...)
drag_unhighlight(...)
ensure_style(...)
error_bell(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_action(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_clipboard(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_display(...)
get_events(...)
get_extension_events(...)
get_has_tooltip(...)
get_modifier_style(...)
get_name(...)
get_no_show_all(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_root_window(...)
get_screen(...)
get_settings(...)
get_size_request(...)
get_tooltip_markup(...)
get_tooltip_text(...)
get_tooltip_window(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
has_screen(...)
hide(...)
hide_all(...)
hide_on_delete(...)
input_shape_combine_mask(...)
intersect(...)
is_ancestor(...)
is_composited(...)
is_focus(...)
keynav_failed(...)
list_mnemonic_labels(...)
map(...)
menu_get_for_attach_widget(...)
mnemonic_activate(...)
modify_base(...)
modify_bg(...)
modify_cursor(...)
modify_fg(...)
modify_font(...)
modify_style(...)
modify_text(...)
path(...)
queue_clear(...)
queue_clear_area(...)
queue_draw(...)
queue_draw_area(...)
queue_resize(...)
queue_resize_no_redraw(...)
rc_get_style(...)
realize(...)
region_intersect(...)
remove_accelerator(...)
remove_mnemonic_label(...)
render_icon(...)
reparent(...)
reset_rc_styles(...)
reset_shapes(...)
selection_add_target(...)
selection_add_targets(...)
selection_clear_targets(...)
selection_convert(...)
selection_owner_set(...)
selection_remove_all(...)
send_expose(...)
set_accel_path(...)
set_app_paintable(...)
set_child_visible(...)
set_colormap(...)
set_composite_name(...)
set_direction(...)
set_double_buffered(...)
set_events(...)
set_extension_events(...)
set_name(...)
set_no_show_all(...)
set_parent(...)
set_parent_window(...)
set_redraw_on_allocate(...)
set_scroll_adjustments(...)
set_sensitive(...)
set_size_request(...)
set_state(...)
set_tooltip_markup(...)
set_tooltip_text(...)
set_tooltip_window(...)
set_uposition(...)
set_usize(...)
shape_combine_mask(...)
show(...)
show_all(...)
show_now(...)
size_allocate(...)
size_request(...)
style_get_property(...)
thaw_child_notify(...)
translate_coordinates(...)
trigger_tooltip_query(...)
unmap(...)
unparent(...)
unrealize(...)

Data descriptors inherited from gtk.Widget:
allocation
name
parent
saved_state
state
style
window

Data and other attributes inherited from gtk.Widget:
do_button_press_event = <built-in method do_button_press_event of GObjectMeta object at 0x17f8330>
do_button_release_event = <built-in method do_button_release_event of GObjectMeta object at 0x17f8330>
do_can_activate_accel = <built-in method do_can_activate_accel of GObjectMeta object at 0x17f8330>
do_client_event = <built-in method do_client_event of GObjectMeta object at 0x17f8330>
do_composited_changed = <built-in method do_composited_changed of GObjectMeta object at 0x17f8330>
do_configure_event = <built-in method do_configure_event of GObjectMeta object at 0x17f8330>
do_delete_event = <built-in method do_delete_event of GObjectMeta object at 0x17f8330>
do_destroy_event = <built-in method do_destroy_event of GObjectMeta object at 0x17f8330>
do_direction_changed = <built-in method do_direction_changed of GObjectMeta object at 0x17f8330>
do_drag_begin = <built-in method do_drag_begin of GObjectMeta object at 0x17f8330>
do_drag_data_delete = <built-in method do_drag_data_delete of GObjectMeta object at 0x17f8330>
do_drag_data_get = <built-in method do_drag_data_get of GObjectMeta object at 0x17f8330>
do_drag_data_received = <built-in method do_drag_data_received of GObjectMeta object at 0x17f8330>
do_drag_drop = <built-in method do_drag_drop of GObjectMeta object at 0x17f8330>
do_drag_end = <built-in method do_drag_end of GObjectMeta object at 0x17f8330>
do_drag_leave = <built-in method do_drag_leave of GObjectMeta object at 0x17f8330>
do_drag_motion = <built-in method do_drag_motion of GObjectMeta object at 0x17f8330>
do_enter_notify_event = <built-in method do_enter_notify_event of GObjectMeta object at 0x17f8330>
do_event = <built-in method do_event of GObjectMeta object at 0x17f8330>
do_expose_event = <built-in method do_expose_event of GObjectMeta object at 0x17f8330>
do_focus = <built-in method do_focus of GObjectMeta object at 0x17f8330>
do_focus_in_event = <built-in method do_focus_in_event of GObjectMeta object at 0x17f8330>
do_focus_out_event = <built-in method do_focus_out_event of GObjectMeta object at 0x17f8330>
do_get_accessible = <built-in method do_get_accessible of GObjectMeta object at 0x17f8330>
do_grab_broken_event = <built-in method do_grab_broken_event of GObjectMeta object at 0x17f8330>
do_grab_focus = <built-in method do_grab_focus of GObjectMeta object at 0x17f8330>
do_grab_notify = <built-in method do_grab_notify of GObjectMeta object at 0x17f8330>
do_hide = <built-in method do_hide of GObjectMeta object at 0x17f8330>
do_hide_all = <built-in method do_hide_all of GObjectMeta object at 0x17f8330>
do_hierarchy_changed = <built-in method do_hierarchy_changed of GObjectMeta object at 0x17f8330>
do_key_press_event = <built-in method do_key_press_event of GObjectMeta object at 0x17f8330>
do_key_release_event = <built-in method do_key_release_event of GObjectMeta object at 0x17f8330>
do_leave_notify_event = <built-in method do_leave_notify_event of GObjectMeta object at 0x17f8330>
do_map = <built-in method do_map of GObjectMeta object at 0x17f8330>
do_map_event = <built-in method do_map_event of GObjectMeta object at 0x17f8330>
do_mnemonic_activate = <built-in method do_mnemonic_activate of GObjectMeta object at 0x17f8330>
do_motion_notify_event = <built-in method do_motion_notify_event of GObjectMeta object at 0x17f8330>
do_no_expose_event = <built-in method do_no_expose_event of GObjectMeta object at 0x17f8330>
do_parent_set = <built-in method do_parent_set of GObjectMeta object at 0x17f8330>
do_popup_menu = <built-in method do_popup_menu of GObjectMeta object at 0x17f8330>
do_property_notify_event = <built-in method do_property_notify_event of GObjectMeta object at 0x17f8330>
do_proximity_in_event = <built-in method do_proximity_in_event of GObjectMeta object at 0x17f8330>
do_proximity_out_event = <built-in method do_proximity_out_event of GObjectMeta object at 0x17f8330>
do_realize = <built-in method do_realize of GObjectMeta object at 0x17f8330>
do_screen_changed = <built-in method do_screen_changed of GObjectMeta object at 0x17f8330>
do_scroll_event = <built-in method do_scroll_event of GObjectMeta object at 0x17f8330>
do_selection_clear_event = <built-in method do_selection_clear_event of GObjectMeta object at 0x17f8330>
do_selection_get = <built-in method do_selection_get of GObjectMeta object at 0x17f8330>
do_selection_notify_event = <built-in method do_selection_notify_event of GObjectMeta object at 0x17f8330>
do_selection_received = <built-in method do_selection_received of GObjectMeta object at 0x17f8330>
do_selection_request_event = <built-in method do_selection_request_event of GObjectMeta object at 0x17f8330>
do_show = <built-in method do_show of GObjectMeta object at 0x17f8330>
do_show_all = <built-in method do_show_all of GObjectMeta object at 0x17f8330>
do_show_help = <built-in method do_show_help of GObjectMeta object at 0x17f8330>
do_size_allocate = <built-in method do_size_allocate of GObjectMeta object at 0x17f8330>
do_size_request = <built-in method do_size_request of GObjectMeta object at 0x17f8330>
do_state_changed = <built-in method do_state_changed of GObjectMeta object at 0x17f8330>
do_style_set = <built-in method do_style_set of GObjectMeta object at 0x17f8330>
do_unmap = <built-in method do_unmap of GObjectMeta object at 0x17f8330>
do_unmap_event = <built-in method do_unmap_event of GObjectMeta object at 0x17f8330>
do_unrealize = <built-in method do_unrealize of GObjectMeta object at 0x17f8330>
do_visibility_notify_event = <built-in method do_visibility_notify_event of GObjectMeta object at 0x17f8330>
do_window_state_event = <built-in method do_window_state_event of GObjectMeta object at 0x17f8330>
get_activate_signal = <built-in method get_activate_signal of GObjectMeta object at 0x17f8330>
set_activate_signal = <built-in method set_activate_signal of GObjectMeta object at 0x17f8330>
set_set_scroll_adjustments_signal = <built-in method set_set_scroll_adjustments_signal of GObjectMeta object at 0x17f8330>

Methods inherited from gtk.Object:
flags(...)
remove_data(...)
remove_no_notify(...)
set_flags(...)
unset_flags(...)

Data and other attributes inherited from gtk.Object:
do_destroy = <built-in method do_destroy of GObjectMeta object at 0x17f8330>

Methods inherited from gobject.GObject:
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__delattr__(...)
x.__delattr__('name') <==> del x.name
__gobject_init__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
chain(...)
connect(...)
connect_after(...)
connect_object(...)
connect_object_after(...)
disconnect(...)
disconnect_by_func(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_properties(...)
get_property(...)
handler_block(...)
handler_block_by_func(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
handler_unblock_by_func(...)
notify(...)
set_data(...)
set_properties(...)
set_property(...)
stop_emission(...)
thaw_notify(...)
weak_ref(...)

Data descriptors inherited from gobject.GObject:
__dict__
__grefcount__

Data and other attributes inherited from gobject.GObject:
__gdoc__ = 'Object GtkToolbar\n\nSignals from GtkToolbar:\n or...ointer\n\nSignals from GObject:\n notify (GParam)\n\n'
__new__ = <built-in method __new__ of GObjectMeta object at 0x2aaab3d70820>
T.__new__(S, ...) -> a new object with type S, a subtype of T
props = <gobject.GProps object at 0x18cadd0>

Methods inherited from gtk.Buildable:
add_child(...)
construct_child(...)
get_internal_child(...)
parser_finished(...)

Data and other attributes inherited from gtk.Buildable:
do_add_child = <built-in method do_add_child of GObjectMeta object at 0x17f8330>
do_construct_child = <built-in method do_construct_child of GObjectMeta object at 0x17f8330>
do_get_internal_child = <built-in method do_get_internal_child of GObjectMeta object at 0x17f8330>
do_parser_finished = <built-in method do_parser_finished of GObjectMeta object at 0x17f8330>
do_set_name = <built-in method do_set_name of GObjectMeta object at 0x17f8330>

Methods inherited from atk.ImplementorIface:
ref_accessible(...)

 
class RendererGTKCairo(matplotlib.backends.backend_cairo.RendererCairo)
    
Method resolution order:
RendererGTKCairo
matplotlib.backends.backend_cairo.RendererCairo
matplotlib.backend_bases.RendererBase

Methods defined here:
set_pixmap(self, pixmap)

Methods inherited from matplotlib.backends.backend_cairo.RendererCairo:
__init__(self, dpi)
draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None)
draw_path(self, gc, path, transform, rgbFace=None)
draw_text(self, gc, x, y, s, prop, angle, ismath=False)
flipy(self)
get_canvas_width_height(self)
get_text_width_height_descent(self, s, prop, ismath)
new_gc(self)
points_to_pixels(self, points)
set_ctx_from_surface(self, surface)
set_width_height(self, width, height)

Static methods inherited from matplotlib.backends.backend_cairo.RendererCairo:
convert_path(ctx, tpath)
#@staticmethod

Data and other attributes inherited from matplotlib.backends.backend_cairo.RendererCairo:
fontangles = {'italic': 1, 'normal': 0, 'oblique': 2}
fontweights = {100: 0, 200: 0, 300: 0, 400: 0, 500: 0, 600: 1, 700: 1, 800: 1, 900: 1, 'black': 1, ...}

Methods inherited from matplotlib.backend_bases.RendererBase:
close_group(self, s)
close a grouping element with label s
Is only currently used by backend_svg
draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None)
Draws a marker at each of the vertices in path.  This includes
all vertices, including control points on curves.  To avoid
that behavior, those vertices should be removed before calling
this function.
 
marker_trans is an affine transform applied to the marker.
trans is an affine transform applied to the path.
 
This provides a fallback implementation of draw_markers that
makes multiple calls to draw_path.  Some backends may want to
override this method in order to draw the marker only once and
reuse it multiple times.
draw_path_collection(self, master_transform, cliprect, clippath, clippath_trans, paths, all_transforms, offsets, offsetTrans, facecolors, edgecolors, linewidths, linestyles, antialiaseds)
Draws a collection of paths, selecting drawing properties from
the lists facecolors, edgecolors, linewidths, linestyles and
antialiaseds.  offsets is a list of offsets to apply to each
of the paths.  The offsets in offsets are first transformed by
offsetTrans before being applied.
 
This provides a fallback implementation of
draw_path_collection that makes multiple calls to draw_path.
Some backends may want to override this in order to render
each set of path data only once, and then reference that path
multiple times with the different offsets, colors, styles etc.
The generator methods _iter_collection_raw_paths and
_iter_collection are provided to help with (and standardize)
the implementation across backends.  It is highly recommended
to use those generators, so that changes to the behavior of
draw_path_collection can be made globally.
draw_quad_mesh(self, master_transform, cliprect, clippath, clippath_trans, meshWidth, meshHeight, coordinates, offsets, offsetTrans, facecolors, antialiased, showedges)
This provides a fallback implementation of draw_quad_mesh that
generates paths and then calls draw_path_collection.
draw_tex(self, gc, x, y, s, prop, angle, ismath='TeX!')
get_image_magnification(self)
Get the factor by which to magnify images passed to draw_image.
Allows a backend to have images at a different resolution to other
artists.
get_texmanager(self)
open_group(self, s)
open a grouping element with label s
Is only currently used by backend_svg
option_image_nocomposite(self)
overwrite this method for renderers that do not necessarily
want to rescale and composite raster images. (like SVG)
start_rasterizing(self)
stop_rasterizing(self)
strip_math(self, s)

 
Functions
       
new_figure_manager(num, *args, **kwargs)
Create a new figure manager instance

 
Data
        PIXELS_PER_INCH = 96
backend_version = 'PyGTK(2.12.0) Pycairo(1.4.12)'
colorConverter = <matplotlib.colors.ColorConverter instance at 0xe29710>
cursord = {0: <GdkCursor at 0x1801c00>, 1: <GdkCursor at 0x1627770>, 2: <GdkCursor at 0x17e9d10>, 3: <GdkCursor at 0x17e94e0>}
cursors = <matplotlib.backend_bases.Cursors instance at 0x1298fc8>
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
icon_filename = 'matplotlib.svg'
verbose = <matplotlib.Verbose instance at 0xe47bd8>
@footer@