Package nltk :: Package draw :: Module plot :: Class CanvasPlotFrame
[hide private]
[frames] | no frames]

Class CanvasPlotFrame

source code

object --+    
         |    
PlotFrameI --+
             |
            CanvasPlotFrame

Instance Methods [hide private]
 
__init__(self, root, vals, rng)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_configure(self, event) source code
 
postscript(self, filename)
Print the contents of the plot to the given file
source code
 
_plot(self, *args) source code
 
config_axes(self, xlog, ylog)
Set the scale for the axes (linear/logarithmic)
source code
 
invtransform(self, x, y)
Transform pixel coordinates to plot coordinates
source code
 
zoom(self, i1, j1, i2, j2)
Zoom to the given range
source code
 
visible_area(self)
Return the visible area rect (in plot coordinates)
source code
 
create_zoom_marker(self)
mark the zoom region, for drag-zooming
source code
 
adjust_zoom_marker(self, x0, y0, x1, y1)
adjust the zoom region marker, for drag-zooming
source code
 
delete_zoom_marker(self)
delete the zoom region marker (for drag-zooming)
source code
 
bind(self, *args)
bind an event to a function
source code
 
unbind(self, *args)
unbind an event
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, root, vals, rng)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

postscript(self, filename)

source code 

Print the contents of the plot to the given file

Overrides: PlotFrameI.postscript
(inherited documentation)

config_axes(self, xlog, ylog)

source code 

Set the scale for the axes (linear/logarithmic)

Overrides: PlotFrameI.config_axes
(inherited documentation)

invtransform(self, x, y)

source code 

Transform pixel coordinates to plot coordinates

Overrides: PlotFrameI.invtransform
(inherited documentation)

zoom(self, i1, j1, i2, j2)

source code 

Zoom to the given range

Overrides: PlotFrameI.zoom
(inherited documentation)

visible_area(self)

source code 

Return the visible area rect (in plot coordinates)

Overrides: PlotFrameI.visible_area
(inherited documentation)

create_zoom_marker(self)

source code 

mark the zoom region, for drag-zooming

Overrides: PlotFrameI.create_zoom_marker
(inherited documentation)

adjust_zoom_marker(self, x0, y0, x1, y1)

source code 

adjust the zoom region marker, for drag-zooming

Overrides: PlotFrameI.adjust_zoom_marker
(inherited documentation)

delete_zoom_marker(self)

source code 

delete the zoom region marker (for drag-zooming)

Overrides: PlotFrameI.delete_zoom_marker
(inherited documentation)

bind(self, *args)

source code 

bind an event to a function

Overrides: PlotFrameI.bind
(inherited documentation)

unbind(self, *args)

source code 

unbind an event

Overrides: PlotFrameI.unbind
(inherited documentation)