diff --git a/chaco/polygon_plot.py b/chaco/polygon_plot.py index 864d964c9..e523f33ad 100644 --- a/chaco/polygon_plot.py +++ b/chaco/polygon_plot.py @@ -51,15 +51,15 @@ class PolygonPlot(BaseXYPlot): # Override the hittest_type trait inherited from BaseXYPlot hittest_type = Enum("poly", "point", "line") - + # The RGBA tuple for rendering edges. It is always a tuple of length 4. # It has the same RGB values as edge_color_, and its alpha value is the - # alpha value of self.edge_color multiplied by self.alpha. + # alpha value of self.edge_color multiplied by self.alpha. effective_edge_color = Property(Tuple, depends_on=['edge_color', 'alpha']) - + # The RGBA tuple for rendering the face. It is always a tuple of length 4. # It has the same RGB values as face_color_, and its alpha value is the - # alpha value of self.face_color multiplied by self.alpha. + # alpha value of self.face_color multiplied by self.alpha. effective_face_color = Property(Tuple, depends_on=['face_color', 'alpha']) #---------------------------------------------------------------------- diff --git a/chaco/tools/better_selecting_zoom.py b/chaco/tools/better_selecting_zoom.py index 1153d7fee..52871da91 100644 --- a/chaco/tools/better_selecting_zoom.py +++ b/chaco/tools/better_selecting_zoom.py @@ -327,7 +327,6 @@ def _end_select(self, event): """ Ends selection of the zoom region, adds the new zoom range to the zoom stack, and does the zoom. """ - self._screen_end = (event.x, event.y) start = numpy.array(self._screen_start) end = numpy.array(self._screen_end)