@header@
 
 
matplotlib.backends.backend_gtkcairo
index
/home/jdhunter/dev/lib/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
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.
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 (139154992)>

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(...)
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_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_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(...)
list_mnemonic_labels(...)
map(...)
menu_get_for_attach_widget(...)
mnemonic_activate(...)
modify_base(...)
modify_bg(...)
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_uposition(...)
set_usize(...)
shape_combine_mask(...)
show(...)
show_all(...)
show_now(...)
size_allocate(...)
size_request(...)
style_get_property(...)
thaw_child_notify(...)
translate_coordinates(...)
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 0x8882c6c>
do_button_release_event = <built-in method do_button_release_event of GObjectMeta object at 0x8882c6c>
do_can_activate_accel = <built-in method do_can_activate_accel of GObjectMeta object at 0x8882c6c>
do_client_event = <built-in method do_client_event of GObjectMeta object at 0x8882c6c>
do_composited_changed = <built-in method do_composited_changed of GObjectMeta object at 0x8882c6c>
do_configure_event = <built-in method do_configure_event of GObjectMeta object at 0x8882c6c>
do_delete_event = <built-in method do_delete_event of GObjectMeta object at 0x8882c6c>
do_destroy_event = <built-in method do_destroy_event of GObjectMeta object at 0x8882c6c>
do_direction_changed = <built-in method do_direction_changed of GObjectMeta object at 0x8882c6c>
do_drag_begin = <built-in method do_drag_begin of GObjectMeta object at 0x8882c6c>
do_drag_data_delete = <built-in method do_drag_data_delete of GObjectMeta object at 0x8882c6c>
do_drag_data_get = <built-in method do_drag_data_get of GObjectMeta object at 0x8882c6c>
do_drag_data_received = <built-in method do_drag_data_received of GObjectMeta object at 0x8882c6c>
do_drag_drop = <built-in method do_drag_drop of GObjectMeta object at 0x8882c6c>
do_drag_end = <built-in method do_drag_end of GObjectMeta object at 0x8882c6c>
do_drag_leave = <built-in method do_drag_leave of GObjectMeta object at 0x8882c6c>
do_drag_motion = <built-in method do_drag_motion of GObjectMeta object at 0x8882c6c>
do_enter_notify_event = <built-in method do_enter_notify_event of GObjectMeta object at 0x8882c6c>
do_event = <built-in method do_event of GObjectMeta object at 0x8882c6c>
do_expose_event = <built-in method do_expose_event of GObjectMeta object at 0x8882c6c>
do_focus = <built-in method do_focus of GObjectMeta object at 0x8882c6c>
do_focus_in_event = <built-in method do_focus_in_event of GObjectMeta object at 0x8882c6c>
do_focus_out_event = <built-in method do_focus_out_event of GObjectMeta object at 0x8882c6c>
do_get_accessible = <built-in method do_get_accessible of GObjectMeta object at 0x8882c6c>
do_grab_broken_event = <built-in method do_grab_broken_event of GObjectMeta object at 0x8882c6c>
do_grab_focus = <built-in method do_grab_focus of GObjectMeta object at 0x8882c6c>
do_grab_notify = <built-in method do_grab_notify of GObjectMeta object at 0x8882c6c>
do_hide = <built-in method do_hide of GObjectMeta object at 0x8882c6c>
do_hide_all = <built-in method do_hide_all of GObjectMeta object at 0x8882c6c>
do_hierarchy_changed = <built-in method do_hierarchy_changed of GObjectMeta object at 0x8882c6c>
do_key_press_event = <built-in method do_key_press_event of GObjectMeta object at 0x8882c6c>
do_key_release_event = <built-in method do_key_release_event of GObjectMeta object at 0x8882c6c>
do_leave_notify_event = <built-in method do_leave_notify_event of GObjectMeta object at 0x8882c6c>
do_map = <built-in method do_map of GObjectMeta object at 0x8882c6c>
do_map_event = <built-in method do_map_event of GObjectMeta object at 0x8882c6c>
do_mnemonic_activate = <built-in method do_mnemonic_activate of GObjectMeta object at 0x8882c6c>
do_motion_notify_event = <built-in method do_motion_notify_event of GObjectMeta object at 0x8882c6c>
do_no_expose_event = <built-in method do_no_expose_event of GObjectMeta object at 0x8882c6c>
do_parent_set = <built-in method do_parent_set of GObjectMeta object at 0x8882c6c>
do_popup_menu = <built-in method do_popup_menu of GObjectMeta object at 0x8882c6c>
do_property_notify_event = <built-in method do_property_notify_event of GObjectMeta object at 0x8882c6c>
do_proximity_in_event = <built-in method do_proximity_in_event of GObjectMeta object at 0x8882c6c>
do_proximity_out_event = <built-in method do_proximity_out_event of GObjectMeta object at 0x8882c6c>
do_realize = <built-in method do_realize of GObjectMeta object at 0x8882c6c>
do_screen_changed = <built-in method do_screen_changed of GObjectMeta object at 0x8882c6c>
do_scroll_event = <built-in method do_scroll_event of GObjectMeta object at 0x8882c6c>
do_selection_clear_event = <built-in method do_selection_clear_event of GObjectMeta object at 0x8882c6c>
do_selection_get = <built-in method do_selection_get of GObjectMeta object at 0x8882c6c>
do_selection_notify_event = <built-in method do_selection_notify_event of GObjectMeta object at 0x8882c6c>
do_selection_received = <built-in method do_selection_received of GObjectMeta object at 0x8882c6c>
do_selection_request_event = <built-in method do_selection_request_event of GObjectMeta object at 0x8882c6c>
do_show = <built-in method do_show of GObjectMeta object at 0x8882c6c>
do_show_all = <built-in method do_show_all of GObjectMeta object at 0x8882c6c>
do_show_help = <built-in method do_show_help of GObjectMeta object at 0x8882c6c>
do_size_allocate = <built-in method do_size_allocate of GObjectMeta object at 0x8882c6c>
do_size_request = <built-in method do_size_request of GObjectMeta object at 0x8882c6c>
do_state_changed = <built-in method do_state_changed of GObjectMeta object at 0x8882c6c>
do_style_set = <built-in method do_style_set of GObjectMeta object at 0x8882c6c>
do_unmap = <built-in method do_unmap of GObjectMeta object at 0x8882c6c>
do_unmap_event = <built-in method do_unmap_event of GObjectMeta object at 0x8882c6c>
do_unrealize = <built-in method do_unrealize of GObjectMeta object at 0x8882c6c>
do_visibility_notify_event = <built-in method do_visibility_notify_event of GObjectMeta object at 0x8882c6c>
do_window_state_event = <built-in method do_window_state_event of GObjectMeta object at 0x8882c6c>
get_activate_signal = <built-in method get_activate_signal of GObjectMeta object at 0x8882c6c>
set_activate_signal = <built-in method set_activate_signal of GObjectMeta object at 0x8882c6c>
set_set_scroll_adjustments_signal = <built-in method set_set_scroll_adjustments_signal of GObjectMeta object at 0x8882c6c>

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 0x8882c6c>

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

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 0xb7b02400>
T.__new__(S, ...) -> a new object with type S, a subtype of T
props = <gobject.GProps object at 0x8bc51ac>

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
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 (139160232)>
do_orientation_changed = <built-in method do_orientation_changed of GObjectMeta object at 0x8b8020c>
do_popup_context_menu = <built-in method do_popup_context_menu of GObjectMeta object at 0x8b8020c>
do_style_changed = <built-in method do_style_changed of GObjectMeta object at 0x8b8020c>

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 0x8b8020c>
do_check_resize = <built-in method do_check_resize of GObjectMeta object at 0x8b8020c>
do_child_type = <built-in method do_child_type of GObjectMeta object at 0x8b8020c>
do_composite_name = <built-in method do_composite_name of GObjectMeta object at 0x8b8020c>
do_get_child_property = <built-in method do_get_child_property of GObjectMeta object at 0x8b8020c>
do_remove = <built-in method do_remove of GObjectMeta object at 0x8b8020c>
do_set_child_property = <built-in method do_set_child_property of GObjectMeta object at 0x8b8020c>
do_set_focus_child = <built-in method do_set_focus_child of GObjectMeta object at 0x8b8020c>
install_child_property = <built-in method install_child_property of GObjectMeta object at 0x8b8020c>
list_child_properties = <built-in method list_child_properties of GObjectMeta object at 0x8b8020c>

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(...)
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_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_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(...)
list_mnemonic_labels(...)
map(...)
menu_get_for_attach_widget(...)
mnemonic_activate(...)
modify_base(...)
modify_bg(...)
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_uposition(...)
set_usize(...)
shape_combine_mask(...)
show(...)
show_all(...)
show_now(...)
size_allocate(...)
size_request(...)
style_get_property(...)
thaw_child_notify(...)
translate_coordinates(...)
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 0x8b8020c>
do_button_release_event = <built-in method do_button_release_event of GObjectMeta object at 0x8b8020c>
do_can_activate_accel = <built-in method do_can_activate_accel of GObjectMeta object at 0x8b8020c>
do_client_event = <built-in method do_client_event of GObjectMeta object at 0x8b8020c>
do_composited_changed = <built-in method do_composited_changed of GObjectMeta object at 0x8b8020c>
do_configure_event = <built-in method do_configure_event of GObjectMeta object at 0x8b8020c>
do_delete_event = <built-in method do_delete_event of GObjectMeta object at 0x8b8020c>
do_destroy_event = <built-in method do_destroy_event of GObjectMeta object at 0x8b8020c>
do_direction_changed = <built-in method do_direction_changed of GObjectMeta object at 0x8b8020c>
do_drag_begin = <built-in method do_drag_begin of GObjectMeta object at 0x8b8020c>
do_drag_data_delete = <built-in method do_drag_data_delete of GObjectMeta object at 0x8b8020c>
do_drag_data_get = <built-in method do_drag_data_get of GObjectMeta object at 0x8b8020c>
do_drag_data_received = <built-in method do_drag_data_received of GObjectMeta object at 0x8b8020c>
do_drag_drop = <built-in method do_drag_drop of GObjectMeta object at 0x8b8020c>
do_drag_end = <built-in method do_drag_end of GObjectMeta object at 0x8b8020c>
do_drag_leave = <built-in method do_drag_leave of GObjectMeta object at 0x8b8020c>
do_drag_motion = <built-in method do_drag_motion of GObjectMeta object at 0x8b8020c>
do_enter_notify_event = <built-in method do_enter_notify_event of GObjectMeta object at 0x8b8020c>
do_event = <built-in method do_event of GObjectMeta object at 0x8b8020c>
do_expose_event = <built-in method do_expose_event of GObjectMeta object at 0x8b8020c>
do_focus = <built-in method do_focus of GObjectMeta object at 0x8b8020c>
do_focus_in_event = <built-in method do_focus_in_event of GObjectMeta object at 0x8b8020c>
do_focus_out_event = <built-in method do_focus_out_event of GObjectMeta object at 0x8b8020c>
do_get_accessible = <built-in method do_get_accessible of GObjectMeta object at 0x8b8020c>
do_grab_broken_event = <built-in method do_grab_broken_event of GObjectMeta object at 0x8b8020c>
do_grab_focus = <built-in method do_grab_focus of GObjectMeta object at 0x8b8020c>
do_grab_notify = <built-in method do_grab_notify of GObjectMeta object at 0x8b8020c>
do_hide = <built-in method do_hide of GObjectMeta object at 0x8b8020c>
do_hide_all = <built-in method do_hide_all of GObjectMeta object at 0x8b8020c>
do_hierarchy_changed = <built-in method do_hierarchy_changed of GObjectMeta object at 0x8b8020c>
do_key_press_event = <built-in method do_key_press_event of GObjectMeta object at 0x8b8020c>
do_key_release_event = <built-in method do_key_release_event of GObjectMeta object at 0x8b8020c>
do_leave_notify_event = <built-in method do_leave_notify_event of GObjectMeta object at 0x8b8020c>
do_map = <built-in method do_map of GObjectMeta object at 0x8b8020c>
do_map_event = <built-in method do_map_event of GObjectMeta object at 0x8b8020c>
do_mnemonic_activate = <built-in method do_mnemonic_activate of GObjectMeta object at 0x8b8020c>
do_motion_notify_event = <built-in method do_motion_notify_event of GObjectMeta object at 0x8b8020c>
do_no_expose_event = <built-in method do_no_expose_event of GObjectMeta object at 0x8b8020c>
do_parent_set = <built-in method do_parent_set of GObjectMeta object at 0x8b8020c>
do_popup_menu = <built-in method do_popup_menu of GObjectMeta object at 0x8b8020c>
do_property_notify_event = <built-in method do_property_notify_event of GObjectMeta object at 0x8b8020c>
do_proximity_in_event = <built-in method do_proximity_in_event of GObjectMeta object at 0x8b8020c>
do_proximity_out_event = <built-in method do_proximity_out_event of GObjectMeta object at 0x8b8020c>
do_realize = <built-in method do_realize of GObjectMeta object at 0x8b8020c>
do_screen_changed = <built-in method do_screen_changed of GObjectMeta object at 0x8b8020c>
do_scroll_event = <built-in method do_scroll_event of GObjectMeta object at 0x8b8020c>
do_selection_clear_event = <built-in method do_selection_clear_event of GObjectMeta object at 0x8b8020c>
do_selection_get = <built-in method do_selection_get of GObjectMeta object at 0x8b8020c>
do_selection_notify_event = <built-in method do_selection_notify_event of GObjectMeta object at 0x8b8020c>
do_selection_received = <built-in method do_selection_received of GObjectMeta object at 0x8b8020c>
do_selection_request_event = <built-in method do_selection_request_event of GObjectMeta object at 0x8b8020c>
do_show = <built-in method do_show of GObjectMeta object at 0x8b8020c>
do_show_all = <built-in method do_show_all of GObjectMeta object at 0x8b8020c>
do_show_help = <built-in method do_show_help of GObjectMeta object at 0x8b8020c>
do_size_allocate = <built-in method do_size_allocate of GObjectMeta object at 0x8b8020c>
do_size_request = <built-in method do_size_request of GObjectMeta object at 0x8b8020c>
do_state_changed = <built-in method do_state_changed of GObjectMeta object at 0x8b8020c>
do_style_set = <built-in method do_style_set of GObjectMeta object at 0x8b8020c>
do_unmap = <built-in method do_unmap of GObjectMeta object at 0x8b8020c>
do_unmap_event = <built-in method do_unmap_event of GObjectMeta object at 0x8b8020c>
do_unrealize = <built-in method do_unrealize of GObjectMeta object at 0x8b8020c>
do_visibility_notify_event = <built-in method do_visibility_notify_event of GObjectMeta object at 0x8b8020c>
do_window_state_event = <built-in method do_window_state_event of GObjectMeta object at 0x8b8020c>
get_activate_signal = <built-in method get_activate_signal of GObjectMeta object at 0x8b8020c>
set_activate_signal = <built-in method set_activate_signal of GObjectMeta object at 0x8b8020c>
set_set_scroll_adjustments_signal = <built-in method set_set_scroll_adjustments_signal of GObjectMeta object at 0x8b8020c>

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 0x8b8020c>

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

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 0xb7b02400>
T.__new__(S, ...) -> a new object with type S, a subtype of T
props = <gobject.GProps object at 0x8bc59cc>

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_arc(self, gc, rgbFace, x, y, width, height, angle1, angle2, rotation)
draw_image(self, x, y, im, bbox)
draw_line(self, gc, x1, y1, x2, y2)
draw_lines(self, gc, x, y, transform=None)
draw_markers_OLD(self, gc, path, rgbFace, x, y, transform)
draw_point(self, gc, x, y)
draw_polygon(self, gc, rgbFace, points)
draw_rectangle(self, gc, rgbFace, x, y, width, height)
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)

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_line_collection(self, segments, transform, clipbox, colors, linewidths, linestyle, antialiaseds, offsets, transOffset)
This is a function for optimized line drawing. If you need to draw
many line segments with similar properties, it is faster to avoid the
overhead of all the object creation etc. The lack of total
configurability is compensated for with efficiency. Hence we don't use
a GC and many of the line props it supports. See
matplotlib.collections for more details.
 
segments is a sequence of ( line0, line1, line2), where linen =
is an Mx2 array with columns x, y.  Each line can be a
different length
 
transform is used to Transform the lines
 
clipbox is a  xmin, ymin, width, height clip rect
 
colors is a tuple of RGBA tuples
 
linewidths is a tuple of linewidths
*** really should be called 'dashes' not 'linestyle', since
we call gc.set_dashes() not gc.set_linestyle() ***
 
linestyle is an (offset, onoffseq) tuple or None,None for solid
 
antialiseds is a tuple of ones or zeros indicating whether the
segment should be aa or not
 
offsets, if not None, is an Nx2 array of x,y offsets to
translate the lines by after transform is used to transform
the offset coords
 
This function could be overridden in the backend to possibly implement
faster drawing, but it is already much faster than using draw_lines()
by itself.
draw_poly_collection(self, verts, transform, clipbox, facecolors, edgecolors, linewidths, antialiaseds, offsets, transOffset)
Draw a polygon collection
 
verts are a sequence of polygon vectors, where each polygon
vector is a sequence of x,y tuples of vertices
 
facecolors and edgecolors are a sequence of RGBA tuples
linewidths are a sequence of linewidths
antialiaseds are a sequence of 0,1 integers whether to use aa
 
If a linewidth is zero or an edgecolor alpha is zero, the
line will be omitted; similarly, the fill will be omitted
if the facecolor alpha is zero.
draw_quad_mesh(self, meshWidth, meshHeight, colors, xCoords, yCoords, clipbox, transform, offsets, transOffset, showedges)
Draw a quadrilateral mesh
See documentation in QuadMesh class in collections.py for details
draw_regpoly_collection(self, clipbox, offsets, transOffset, verts, sizes, facecolors, edgecolors, linewidths, antialiaseds)
Draw a regular poly collection
 
offsets   - is a sequence is x,y tuples
transOffset - maps this to display coords
 
verts - are the vertices of the regular polygon at the origin
 
sizes are the area of the circle that circumscribes the
polygon in points^2
 
facecolors and edgecolors are a sequence of RGBA tuples
linewidths are a sequence of linewidths
antialiaseds are a sequence of 0,1 integers whether to use aa
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)
get_text_extent(self, text)
Get the text extent in window coords
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)
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.10.4) Pycairo(1.2.0)'
colorConverter = <matplotlib.colors.ColorConverter instance at 0x878dc8c>
cursord = {0: <GdkCursor at 0x8b78400>, 1: <GdkCursor at 0x8b78420>, 2: <GdkCursor at 0x8b78800>, 3: <GdkCursor at 0x8b783d0>}
cursors = <matplotlib.backend_bases.Cursors instance at 0x889b80c>
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
icon_filename = 'matplotlib.svg'
verbose = <matplotlib.Verbose instance at 0x836eb6c>
@footer@