Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions chaco/base_plot_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,3 @@ class BasePlotContainer(Container):

draw_order = Instance(list, args=(DEFAULT_DRAWING_ORDER,))
draw_layer = Str("plot")

# ------------------------------------------------------------------------
# Deprecated traits
# ------------------------------------------------------------------------

#: Deprecated property for accessing the components in the container.
Comment thread
aaronayres35 marked this conversation as resolved.
plot_components = Property

def _get_plot_components(self):
warnings.warn(
"Use of plot_components attribute deprecated."
"Use components attribute instead.",
DeprecationWarning,
)
return self._components

def _set_plot_components(self, new):
warnings.warn(
"Use of plot_components attribute deprecated."
"Use components attribute instead.",
DeprecationWarning,
)
self._components = new
18 changes: 0 additions & 18 deletions chaco/chaco_plot_container_editor.py

This file was deleted.

119 changes: 0 additions & 119 deletions chaco/tools/base_zoom_tool.py

This file was deleted.

28 changes: 0 additions & 28 deletions chaco/tools/better_selecting_zoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from chaco.abstract_overlay import AbstractOverlay
from enable.api import ColorTrait, KeySpec
from traits.api import Bool, Enum, Trait, Int, Float, Tuple, Instance, Property
from traits.util.deprecated import deprecated

from .better_zoom import BetterZoom
from .tool_states import SelectedZoomState
Expand Down Expand Up @@ -38,14 +37,6 @@ class BetterSelectingZoom(AbstractOverlay, BetterZoom):
#: the tool to actually take effect.
minimum_screen_delta = Int(10)

# -------------------------------------------------------------------------
# deprecated interaction controls, used for API compatability with
# SimpleZoom
# -------------------------------------------------------------------------

#: Conversion ratio from wheel steps to zoom factors.
wheel_zoom_step = Property(Float, observe="zoom_factor")

#: The key press to enter zoom mode, if **always_on** is False. Has no effect
#: if **always_on** is True.
enter_zoom_key = Instance(KeySpec, args=("z",))
Comment thread
aaronayres35 marked this conversation as resolved.
Expand All @@ -54,9 +45,6 @@ class BetterSelectingZoom(AbstractOverlay, BetterZoom):
#: if **always_on** is True.
exit_zoom_key = Instance(KeySpec, args=("z",))

#: Disable the tool after the zoom is completed?
disable_on_complete = Property()

# -------------------------------------------------------------------------
# Appearance properties (for Box mode)
# -------------------------------------------------------------------------
Expand Down Expand Up @@ -262,22 +250,6 @@ def overlay(self, component, gc, view_bounds=None, mode="normal"):
# private interface
# --------------------------------------------------------------------------

@deprecated
def _get_disable_on_complete(self):
return True

@deprecated
def _set_disable_on_complete(self, value):
return

@deprecated
def _get_wheel_zoom_step(self):
return self.zoom_factor - 1.0

@deprecated
def _set_wheel_zoom_step(self, value):
self.zoom_factor = value + 1.0

def _is_enabling_event(self, event):
if self.always_on:
enabled = True
Expand Down
13 changes: 0 additions & 13 deletions chaco/tools/drag_tool.py

This file was deleted.

4 changes: 2 additions & 2 deletions chaco/tools/rect_zoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class RectZoomTool(ZoomTool):
traits.
"""

#: Selects a box in two dimensions (overrides SimpleZoom).
#: Selects a box in two dimensions (overrides ZoomTool).
tool_mode = "box"

#: The tool is always on; left-clicking initiates a zoom (overrides
#: SimpleZoom).
#: ZoomTool).
always_on = True
Loading