~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to enthought/chaco/tools/rect_zoom.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-04-06 19:03:54 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110406190354-rwd55l2ezjecfo41
Tags: 3.4.0-2
d/rules: fix pyshared directory path (Closes: #621116)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
""" Defines the RectZoomTool class.
2
2
"""
3
 
from simple_zoom import SimpleZoom
4
 
 
5
 
 
6
 
class RectZoomTool(SimpleZoom):
 
3
from zoom_tool import ZoomTool
 
4
 
 
5
class RectZoomTool(ZoomTool):
7
6
    """
8
7
    Allows the user to drag a zoom box around a region of the plot.
9
8
    
10
 
    This is a subclass of SimpleZoom, with different default values for some
 
9
    This is a subclass of ZoomTool, with different default values for some
11
10
    traits.
12
11
    """
13
12