@header@
 
 
matplotlib.backends.backend_gtk
index
/matplotlib/backends/backend_gtk.py

 
Modules
       
gtk.gdk
gobject
gtk
math
os
pango
pygtk
sys

 
Classes
       
matplotlib.backend_bases.AxisTextBase(matplotlib.artist.Artist)
AxisTextGTK
AxisTextGTK
ColorManagerGTK
gtk.Dialog(gtk.Window)
Dialog_MeasureTool
gtk.DrawingArea(gtk.Widget)
FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
matplotlib.backend_bases.FigureBase
FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
matplotlib.backend_bases.FigureManagerBase
FigureManagerGTK
matplotlib.backend_bases.GraphicsContextBase
GraphicsContextGTK
matplotlib.backend_bases.RendererBase
RendererGTK
ShowOn
gtk.Toolbar(gtk.Container)
NavigationToolbar

 
AxisText = class AxisTextGTK(matplotlib.backend_bases.AxisTextBase)
    Handle storing and drawing of text in window or data coordinates
 
 
Method resolution order:
AxisTextGTK
matplotlib.backend_bases.AxisTextBase
matplotlib.artist.Artist

Methods defined here:
__init__(self, dpi, bbox, x=0, y=0, text='', color='k', verticalalignment='bottom', horizontalalignment='left', fontname='Sans', fontsize=10, fontweight='normal', fontangle='normal', rotation=None, transx=Transform: Bound1D: 0 1 to Bound1D: 0 1, transy=Transform: Bound1D: 0 1 to Bound1D: 0 1)
draw_rotated(self, drawable, gc)
Draw the text rotated 90 degrees
get_window_extent(self)

Data and other attributes defined here:
fontangles = {'italic': 2, 'normal': 0, 'oblique': 1}
fontweights = {'bold': 700, 'heavy': 900, 'light': 300, 'normal': 400, 'ultrabold': 800, 'ultralight': 200}

Methods inherited from matplotlib.backend_bases.AxisTextBase:
__del__(self)
Bye bye
erase(self)
get_fontangle(self)
Get the font angle as string
get_fontname(self)
Return the font name as string
get_fontsize(self)
Return the font size as integer
get_fontweight(self)
Get the font weight as string
get_horizontalalignment(self)
Return the horizontal alignment as string
get_position(self)
Return x, y as tuple
get_text(self)
Get the text as string
get_verticalalignment(self)
Return the vertical alignment as string
set_backgroundcolor(self, color)
Set the background color of the text
set_color(self, color)
Set the foreground color of the text
set_fontangle(self, angle)
Set the font angle, one of 'normal', 'italic', 'oblique'
set_fontname(self, fontname)
Set the font name, eg, 'Sans', 'Courier', 'Helvetica'
set_fontsize(self, fontsize)
Set the font size, eg, 8, 10, 12, 14...
set_fontweight(self, weight)
Set the font weight, one of:
'normal', 'bold', 'heavy', 'light', 'ultrabold',  'ultralight'
set_horizontalalignment(self, align)
Set the horizontal alignment to one of
'center', 'right', or 'left'
set_position(self, xy)
set_rotation(self, s)
Currently only s='vertical', or s='horizontal' are supported
set_text(self, text)
Set the text
set_verticalalignment(self, align)
Set the vertical alignment to one of
'center', 'top', or 'bottom'
set_x(self, x)
set_y(self, y)
update_properties(self, d)
Update the font attributes with the dictionary in d
wash_brushes(self)
Flush all state vars and prepare for a clean redraw

Methods inherited from matplotlib.artist.Artist:
draw(self, drawable=None, *args, **kwargs)
Derived classes drawing method
get_child_artists(self)
Return all artists contained in self
get_dpi(self)
Get the DPI of the display
set_child_attr(self, attr, val)
Set attribute attr for self, and all child artists
set_clip_on(self, b)
Set whether artist is clipped to bbox
set_lod(self, on)
Set Level of Detail on or off.  If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
set_renderer(self, renderer)
Set the renderer
set_transform(self, transform)
Set the artist transform for self and all children

Data and other attributes inherited from matplotlib.artist.Artist:
aname = 'Artist'

 
class AxisTextGTK(matplotlib.backend_bases.AxisTextBase)
    Handle storing and drawing of text in window or data coordinates
 
 
Method resolution order:
AxisTextGTK
matplotlib.backend_bases.AxisTextBase
matplotlib.artist.Artist

Methods defined here:
__init__(self, dpi, bbox, x=0, y=0, text='', color='k', verticalalignment='bottom', horizontalalignment='left', fontname='Sans', fontsize=10, fontweight='normal', fontangle='normal', rotation=None, transx=Transform: Bound1D: 0 1 to Bound1D: 0 1, transy=Transform: Bound1D: 0 1 to Bound1D: 0 1)
draw_rotated(self, drawable, gc)
Draw the text rotated 90 degrees
get_window_extent(self)

Data and other attributes defined here:
fontangles = {'italic': 2, 'normal': 0, 'oblique': 1}
fontweights = {'bold': 700, 'heavy': 900, 'light': 300, 'normal': 400, 'ultrabold': 800, 'ultralight': 200}

Methods inherited from matplotlib.backend_bases.AxisTextBase:
__del__(self)
Bye bye
erase(self)
get_fontangle(self)
Get the font angle as string
get_fontname(self)
Return the font name as string
get_fontsize(self)
Return the font size as integer
get_fontweight(self)
Get the font weight as string
get_horizontalalignment(self)
Return the horizontal alignment as string
get_position(self)
Return x, y as tuple
get_text(self)
Get the text as string
get_verticalalignment(self)
Return the vertical alignment as string
set_backgroundcolor(self, color)
Set the background color of the text
set_color(self, color)
Set the foreground color of the text
set_fontangle(self, angle)
Set the font angle, one of 'normal', 'italic', 'oblique'
set_fontname(self, fontname)
Set the font name, eg, 'Sans', 'Courier', 'Helvetica'
set_fontsize(self, fontsize)
Set the font size, eg, 8, 10, 12, 14...
set_fontweight(self, weight)
Set the font weight, one of:
'normal', 'bold', 'heavy', 'light', 'ultrabold',  'ultralight'
set_horizontalalignment(self, align)
Set the horizontal alignment to one of
'center', 'right', or 'left'
set_position(self, xy)
set_rotation(self, s)
Currently only s='vertical', or s='horizontal' are supported
set_text(self, text)
Set the text
set_verticalalignment(self, align)
Set the vertical alignment to one of
'center', 'top', or 'bottom'
set_x(self, x)
set_y(self, y)
update_properties(self, d)
Update the font attributes with the dictionary in d
wash_brushes(self)
Flush all state vars and prepare for a clean redraw

Methods inherited from matplotlib.artist.Artist:
draw(self, drawable=None, *args, **kwargs)
Derived classes drawing method
get_child_artists(self)
Return all artists contained in self
get_dpi(self)
Get the DPI of the display
set_child_attr(self, attr, val)
Set attribute attr for self, and all child artists
set_clip_on(self, b)
Set whether artist is clipped to bbox
set_lod(self, on)
Set Level of Detail on or off.  If on, the artists may examine
things like the pixel width of the axes and draw a subset of
their contents accordingly
set_renderer(self, renderer)
Set the renderer
set_transform(self, transform)
Set the artist transform for self and all children

Data and other attributes inherited from matplotlib.artist.Artist:
aname = 'Artist'

 
class ColorManagerGTK
     Methods defined here:
get_color(self, rgb)
RGB is a unit RGB tuple, return a gtk.gdk.Color
set_drawing_area(self, da)

 
class Dialog_MeasureTool(gtk.Dialog)
    
Method resolution order:
Dialog_MeasureTool
gtk.Dialog
gtk.Window
gtk.Bin
gtk.Container
gtk.Widget
gtk.Object
gobject.GObject
__builtin__.object

Methods defined here:
__init__(self)
update_delta(self, dx, dy)
update_position(self, x, y)

Methods inherited from gtk.Dialog:
add_action_widget(...)
add_button(...)
add_buttons(...)
get_has_separator(...)
response(...)
run(...)
set_default_response(...)
set_has_separator(...)
set_response_sensitive(...)

Data and other attributes inherited from gtk.Dialog:
__gtype__ = <GType GtkDialog (136605040)>
action_area = <attribute 'action_area' of 'gtk.Dialog' objects>
vbox = <attribute 'vbox' of 'gtk.Dialog' objects>

Methods inherited from gtk.Window:
activate_default(...)
activate_focus(...)
add_accel_group(...)
add_mnemonic(...)
begin_move_drag(...)
begin_resize_drag(...)
deiconify(...)
get_decorated(...)
get_default_size(...)
get_destroy_with_parent(...)
get_focus(...)
get_frame_dimensions(...)
get_gravity(...)
get_has_frame(...)
get_icon(...)
get_icon_list(...)
get_mnemonic_modifier(...)
get_modal(...)
get_position(...)
get_resizable(...)
get_role(...)
get_size(...)
get_title(...)
get_transient_for(...)
get_type_hint(...)
iconify(...)
maximize(...)
mnemonic_activate(...)
move(...)
parse_geometry(...)
present(...)
remove_accel_group(...)
remove_mnemonic(...)
reshow_with_initial_size(...)
resize(...)
set_decorated(...)
set_default(...)
set_default_size(...)
set_destroy_with_parent(...)
set_focus(...)
set_frame_dimensions(...)
set_geometry_hints(...)
set_gravity(...)
set_has_frame(...)
set_icon(...)
set_icon_list(...)
set_mnemonic_modifier(...)
set_modal(...)
set_policy(...)
set_position(...)
set_resizable(...)
set_role(...)
set_title(...)
set_transient_for(...)
set_type_hint(...)
set_wmclass(...)
stick(...)
unmaximize(...)
unstick(...)

Data and other attributes inherited from gtk.Window:
allow_grow = <attribute 'allow_grow' of 'gtk.Window' objects>
allow_shrink = <attribute 'allow_shrink' of 'gtk.Window' objects>
configure_notify_received = <attribute 'configure_notify_received' of 'gtk.Window' objects>
configure_request_count = <attribute 'configure_request_count' of 'gtk.Window' objects>
decorated = <attribute 'decorated' of 'gtk.Window' objects>
default_widget = <attribute 'default_widget' of 'gtk.Window' objects>
destroy_with_parent = <attribute 'destroy_with_parent' of 'gtk.Window' objects>
focus_widget = <attribute 'focus_widget' of 'gtk.Window' objects>
frame = <attribute 'frame' of 'gtk.Window' objects>
frame_bottom = <attribute 'frame_bottom' of 'gtk.Window' objects>
frame_left = <attribute 'frame_left' of 'gtk.Window' objects>
frame_right = <attribute 'frame_right' of 'gtk.Window' objects>
frame_top = <attribute 'frame_top' of 'gtk.Window' objects>
gravity = <attribute 'gravity' of 'gtk.Window' objects>
group = <attribute 'group' of 'gtk.Window' objects>
has_focus = <attribute 'has_focus' of 'gtk.Window' objects>
has_frame = <attribute 'has_frame' of 'gtk.Window' objects>
has_user_ref_count = <attribute 'has_user_ref_count' of 'gtk.Window' objects>
iconify_initially = <attribute 'iconify_initially' of 'gtk.Window' objects>
keys_changed_handler = <attribute 'keys_changed_handler' of 'gtk.Window' objects>
maximize_initially = <attribute 'maximize_initially' of 'gtk.Window' objects>
mnemonic_modifier = <attribute 'mnemonic_modifier' of 'gtk.Window' objects>
modal = <attribute 'modal' of 'gtk.Window' objects>
need_default_position = <attribute 'need_default_position' of 'gtk.Window' objects>
need_default_size = <attribute 'need_default_size' of 'gtk.Window' objects>
position = <attribute 'position' of 'gtk.Window' objects>
stick_initially = <attribute 'stick_initially' of 'gtk.Window' objects>
title = <attribute 'title' of 'gtk.Window' objects>
transient_parent = <attribute 'transient_parent' of 'gtk.Window' objects>
type = <attribute 'type' of 'gtk.Window' objects>
type_hint = <attribute 'type_hint' of 'gtk.Window' objects>
wm_role = <attribute 'wm_role' of 'gtk.Window' objects>
wmclass_class = <attribute 'wmclass_class' of 'gtk.Window' objects>
wmclass_name = <attribute 'wmclass_name' of 'gtk.Window' objects>

Methods inherited from gtk.Bin:
get_child(...)

Data and other attributes inherited from gtk.Bin:
child = <attribute 'child' of 'gtk.Bin' objects>

Methods inherited from gtk.Container:
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 and other attributes inherited from gtk.Container:
border_width = <attribute 'border_width' of 'gtk.Container' objects>
focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_unset(...)
drag_unhighlight(...)
draw(...)
ensure_style(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_settings(...)
get_size_request(...)
get_style(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
hide(...)
hide_all(...)
hide_on_delete(...)
intersect(...)
is_ancestor(...)
is_focus(...)
map(...)
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(...)
rc_get_style(...)
realize(...)
remove_accelerator(...)
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_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(...)
thaw_child_notify(...)
translate_coordinates(...)
unmap(...)
unparent(...)
unrealize(...)

Data and other attributes inherited from gtk.Widget:
allocation = <attribute 'allocation' of 'gtk.Widget' objects>
name = <attribute 'name' of 'gtk.Widget' objects>
parent = <attribute 'parent' of 'gtk.Widget' objects>
saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
state = <attribute 'state' of 'gtk.Widget' objects>
style = <attribute 'style' of 'gtk.Widget' objects>
window = <attribute 'window' of 'gtk.Widget' objects>

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

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(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_property(...)
handler_block(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
notify(...)
set_data(...)
set_property(...)
stop_emission(...)
thaw_notify(...)

Data and other attributes inherited from gobject.GObject:
__dict__ = <dictproxy object>
__gdoc__ = 'Object GtkDialog\n\nSignals from GObject:\n notify...he dialog has a separator bar above its buttons\n\n'
__grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
Figure = class FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
    
Method resolution order:
FigureGTK
matplotlib.backend_bases.FigureBase
gtk.DrawingArea
gtk.Widget
gtk.Object
gobject.GObject
__builtin__.object

Methods defined here:
__init__(self, figsize, dpi)
add_axis(self, a)
button_press_event(self, widget, event)
button_release_event(self, widget, event)
configure_event(self, widget, event=None)
draw(self, drawable=None, *args, **kwargs)
expose_event(self, widget, event)
focus_in_event(self, widget, event)
is_realized(self)
key_press_event(self, widget, event)
key_release_event(self, widget, event)
motion_notify_event(self, widget, event)
print_figure(self, filename, dpi=150)
realize(self, widget)
text(self, x, y, s, *args, **kwargs)
Add text to figure at location x,y (relative 0-1 coords) See
the help for Axis text for the meaning of the other arguments

Methods inherited from matplotlib.backend_bases.FigureBase:
clear(self)
get_axes(self)

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

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

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_unset(...)
drag_unhighlight(...)
ensure_style(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_settings(...)
get_size_request(...)
get_style(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
hide(...)
hide_all(...)
hide_on_delete(...)
intersect(...)
is_ancestor(...)
is_focus(...)
map(...)
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(...)
rc_get_style(...)
remove_accelerator(...)
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_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(...)
thaw_child_notify(...)
translate_coordinates(...)
unmap(...)
unparent(...)
unrealize(...)

Data and other attributes inherited from gtk.Widget:
allocation = <attribute 'allocation' of 'gtk.Widget' objects>
name = <attribute 'name' of 'gtk.Widget' objects>
parent = <attribute 'parent' of 'gtk.Widget' objects>
saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
state = <attribute 'state' of 'gtk.Widget' objects>
style = <attribute 'style' of 'gtk.Widget' objects>
window = <attribute 'window' of 'gtk.Widget' objects>

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

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(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_property(...)
handler_block(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
notify(...)
set_data(...)
set_property(...)
stop_emission(...)
thaw_notify(...)

Data and other attributes inherited from gobject.GObject:
__dict__ = <dictproxy object>
__gdoc__ = 'Object GtkDrawingArea\n\nSignals from GObject:\n n... what kind of extension events this widget gets\n\n'
__grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class FigureGTK(matplotlib.backend_bases.FigureBase, gtk.DrawingArea)
    
Method resolution order:
FigureGTK
matplotlib.backend_bases.FigureBase
gtk.DrawingArea
gtk.Widget
gtk.Object
gobject.GObject
__builtin__.object

Methods defined here:
__init__(self, figsize, dpi)
add_axis(self, a)
button_press_event(self, widget, event)
button_release_event(self, widget, event)
configure_event(self, widget, event=None)
draw(self, drawable=None, *args, **kwargs)
expose_event(self, widget, event)
focus_in_event(self, widget, event)
is_realized(self)
key_press_event(self, widget, event)
key_release_event(self, widget, event)
motion_notify_event(self, widget, event)
print_figure(self, filename, dpi=150)
realize(self, widget)
text(self, x, y, s, *args, **kwargs)
Add text to figure at location x,y (relative 0-1 coords) See
the help for Axis text for the meaning of the other arguments

Methods inherited from matplotlib.backend_bases.FigureBase:
clear(self)
get_axes(self)

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

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

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_unset(...)
drag_unhighlight(...)
ensure_style(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_settings(...)
get_size_request(...)
get_style(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
hide(...)
hide_all(...)
hide_on_delete(...)
intersect(...)
is_ancestor(...)
is_focus(...)
map(...)
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(...)
rc_get_style(...)
remove_accelerator(...)
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_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(...)
thaw_child_notify(...)
translate_coordinates(...)
unmap(...)
unparent(...)
unrealize(...)

Data and other attributes inherited from gtk.Widget:
allocation = <attribute 'allocation' of 'gtk.Widget' objects>
name = <attribute 'name' of 'gtk.Widget' objects>
parent = <attribute 'parent' of 'gtk.Widget' objects>
saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
state = <attribute 'state' of 'gtk.Widget' objects>
style = <attribute 'style' of 'gtk.Widget' objects>
window = <attribute 'window' of 'gtk.Widget' objects>

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

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(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_property(...)
handler_block(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
notify(...)
set_data(...)
set_property(...)
stop_emission(...)
thaw_notify(...)

Data and other attributes inherited from gobject.GObject:
__dict__ = <dictproxy object>
__gdoc__ = 'Object GtkDrawingArea\n\nSignals from GObject:\n n... what kind of extension events this widget gets\n\n'
__grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class FigureManagerGTK(matplotlib.backend_bases.FigureManagerBase)
     Methods defined here:
__init__(self, figure, num, window, vbox, toolbar)
add_axes(self, rect, axisbg)
add_subplot(self, *args, **kwargs)
destroy(self, *args)
set_current_axes(self, a)

Methods inherited from matplotlib.backend_bases.FigureManagerBase:
get_current_axis(self)
Return the current axes

 
class GraphicsContextGTK(matplotlib.backend_bases.GraphicsContextBase)
     Methods defined here:
__init__(self, gdkGC, drawable)
set_capstyle(self, cs)
Set the capstyle as a string in ('butt', 'round', 'projecting')
set_clip_rectangle(self, rectangle)
set_dashes(self, dash_offset, dash_list)
set_foreground(self, fg)
Set the foreground color.  fg can be a matlab format string, a
html hex color string, an rgb unit tuple, or a float between 0
and 1.  In the latter case, grayscale is used.
set_graylevel(self, frac)
Set the foreground color to be a gray level with frac frac
set_joinstyle(self, js)
Set the join style to be one of ('miter', 'round', 'bevel')
set_linestyle(self, style)
set_linewidth(self, w)

Methods inherited from matplotlib.backend_bases.GraphicsContextBase:
copy_properties(self, gc)
Copy properties from gc to self
get_capstyle(self)
Return the capstyle as a string in ('butt', 'round', 'projecting')
get_clip_rectangle(self)
Return the clip rectangle as (left, bottom, width, height)
get_dashes(self)
Return the dash information as an offset dashlist tuple The
dash list is a even size list that gives the ink on, ink off
in pixels.  See p107 of to postscript BLUEBOOK for more info
 
Default value is None
get_joinstyle(self)
Return the line join style as one of ('miter', 'round', 'bevel')
get_linestyle(self, style)
Return the linestyle: one of ('solid', 'dashed', 'dashdot',
'dotted').
get_linewidth(self)
Return the line width in points as a scalar
get_rgb(self)
returns a tuple of three floats from 0-1.  color can be a
matlab format string, a html hex color string, or a rgb tuple

 
class NavigationToolbar(gtk.Toolbar)
    
Method resolution order:
NavigationToolbar
gtk.Toolbar
gtk.Container
gtk.Widget
gtk.Object
gobject.GObject
__builtin__.object

Methods defined here:
__init__(self, figure, win=None)
figure is the Figure instance that the toolboar controls
 
win, if not None, is the gtk.Window the Figure is embedded in
make_axis_menu(self)
menu_clicked(self, button)
panx(self, button, arg)
pany(self, button, arg)
save_figure(self, button)
set_active(self, ind)
update(self)
zoomx(self, button, arg)
zoomy(self, button, arg)

Methods inherited from gtk.Toolbar:
append_element(...)
append_item(...)
append_space(...)
append_widget(...)
get_icon_size(...)
get_orientation(...)
get_style(...)
get_tooltips(...)
insert_element(...)
insert_item(...)
insert_space(...)
insert_stock(...)
insert_widget(...)
prepend_element(...)
prepend_item(...)
prepend_space(...)
prepend_widget(...)
remove_space(...)
set_icon_size(...)
set_orientation(...)
set_style(...)
set_tooltips(...)
unset_icon_size(...)
unset_style(...)

Data and other attributes inherited from gtk.Toolbar:
__gtype__ = <GType GtkToolbar (135926400)>

Methods inherited from gtk.Container:
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 and other attributes inherited from gtk.Container:
border_width = <attribute 'border_width' of 'gtk.Container' objects>
focus_child = <attribute 'focus_child' of 'gtk.Container' objects>
has_focus_chain = <attribute 'has_focus_chain' of 'gtk.Container' objects>
need_resize = <attribute 'need_resize' of 'gtk.Container' objects>
reallocate_redraws = <attribute 'reallocate_redraws' of 'gtk.Container' objects>
resize_mode = <attribute 'resize_mode' of 'gtk.Container' objects>

Methods inherited from gtk.Widget:
activate(...)
add_accelerator(...)
add_events(...)
child_focus(...)
child_notify(...)
class_path(...)
create_pango_context(...)
create_pango_layout(...)
destroy(...)
drag_begin(...)
drag_check_threshold(...)
drag_dest_find_target(...)
drag_dest_get_target_list(...)
drag_dest_set(...)
drag_dest_set_proxy(...)
drag_dest_set_target_list(...)
drag_dest_unset(...)
drag_get_data(...)
drag_highlight(...)
drag_source_set(...)
drag_source_set_icon(...)
drag_source_set_icon_pixbuf(...)
drag_source_set_icon_stock(...)
drag_source_unset(...)
drag_unhighlight(...)
draw(...)
ensure_style(...)
event(...)
freeze_child_notify(...)
get_accessible(...)
get_allocation(...)
get_ancestor(...)
get_child_requisition(...)
get_child_visible(...)
get_colormap(...)
get_composite_name(...)
get_direction(...)
get_events(...)
get_extension_events(...)
get_modifier_style(...)
get_name(...)
get_pango_context(...)
get_parent(...)
get_parent_window(...)
get_pointer(...)
get_settings(...)
get_size_request(...)
get_toplevel(...)
get_visual(...)
grab_add(...)
grab_default(...)
grab_focus(...)
grab_remove(...)
hide(...)
hide_all(...)
hide_on_delete(...)
intersect(...)
is_ancestor(...)
is_focus(...)
map(...)
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(...)
rc_get_style(...)
realize(...)
remove_accelerator(...)
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_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(...)
thaw_child_notify(...)
translate_coordinates(...)
unmap(...)
unparent(...)
unrealize(...)

Data and other attributes inherited from gtk.Widget:
allocation = <attribute 'allocation' of 'gtk.Widget' objects>
name = <attribute 'name' of 'gtk.Widget' objects>
parent = <attribute 'parent' of 'gtk.Widget' objects>
saved_state = <attribute 'saved_state' of 'gtk.Widget' objects>
state = <attribute 'state' of 'gtk.Widget' objects>
style = <attribute 'style' of 'gtk.Widget' objects>
window = <attribute 'window' of 'gtk.Widget' objects>

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

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(...)
emit(...)
emit_stop_by_name(...)
freeze_notify(...)
get_data(...)
get_property(...)
handler_block(...)
handler_disconnect(...)
handler_is_connected(...)
handler_unblock(...)
notify(...)
set_data(...)
set_property(...)
stop_emission(...)
thaw_notify(...)

Data and other attributes inherited from gobject.GObject:
__dict__ = <dictproxy object>
__gdoc__ = 'Object GtkToolbar\n\nSignals from GObject:\n notif...tyle: Toolbar Style\n How to draw the toolbar\n\n'
__grefcount__ = <attribute '__grefcount__' of 'gobject.GObject' objects>
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class RendererGTK(matplotlib.backend_bases.RendererBase)
     Methods defined here:
__init__(self, gdkDrawable, dpi)
draw_arc(self, gc, faceColor, x, y, width, height, angle1, angle2)
Draw an arc centered at x,y with width and height
draw_line(self, gc, x1, y1, x2, y2)
Draw a single line from x1,y1 to x2,y2
draw_lines(self, gc, x, y)
draw_point(self, gc, x, y)
Draw a single point at x,y
draw_polygon(self, gc, faceColor, points)
Draw a polygon.  points is a len vertices tuple, each element
giving the x,y coords a vertex
 
If faceColor is not None, fill the rectangle with it.  gcEdge
is a GraphicsContext instance
draw_rectangle(self, gc, faceColor, x, y, width, height)
Draw a rectangle at lower left x,y with width and height
If filled=True, fill the rectangle with the gc foreground
gc is a GraphicsContext instance
new_gc(self)

 
class ShowOn
     Methods defined here:
__init__(self)
enter_mainloop(self)
get(self)
is_mainloop_on(self)
set(self, on)

Data and other attributes defined here:
show = 0

 
Functions
       
array(...)
array(sequence, typecode=None, copy=1, savespace=0) will return a new array formed from the given (potentially nested) sequence with type given by typecode.  If no typecode is given, then the type will be determined as the minimum type required to hold the objects in sequence.  If copy is zero and sequence is already an array, a reference will be returned.  If savespace is nonzero, the new array will maintain its precision in operations.
draw_if_interactive()
error_msg = error_msg_gtk(msg, parent=None)
error_msg_gtk(msg, parent=None)
new_figure_manager(num, figsize, dpi)
Create a new figure manager instance
raise_msg_to_str(msg)
msg is a return arg from a raise.  Join with new lines
show()
Show all the figures and enter the gtk mainloop
 
This should be the last line of your script

 
Data
        False = False
Int16 = 's'
SCREENDPI = 75
True = True
colorManager = <matplotlib.backends.backend_gtk.ColorManagerGTK instance>
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
@footer@