diff --git a/chaco/barplot.py b/chaco/barplot.py deleted file mode 100644 index 22953df05..000000000 --- a/chaco/barplot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.barplot import BarPlot # noqa: F401 - -warnings.warn( - "Importing BarPlot from this module is deprecated. Please use chaco.api " - "or chaco.plots.api instead. This module will be removed in the next major" - " release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/candle_plot.py b/chaco/candle_plot.py deleted file mode 100644 index 8f1960542..000000000 --- a/chaco/candle_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.candle_plot import CandlePlot # noqa: F401 - -warnings.warn( - "Importing CandlePlot from this module is deprecated. Please use chaco.api" - " or chaco.plots.api instead. This module will be removed in the next " - "major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/cmap_image_plot.py b/chaco/cmap_image_plot.py deleted file mode 100644 index 16f83caef..000000000 --- a/chaco/cmap_image_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.cmap_image_plot import CMapImagePlot # noqa: F401 - -warnings.warn( - "Importing CMapImagePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/color_bar.py b/chaco/color_bar.py deleted file mode 100644 index 93a1c57e0..000000000 --- a/chaco/color_bar.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.color_bar import ColorBar # noqa: F401 - -warnings.warn( - "Importing ColorBar from this module is deprecated. Please use chaco.api" - " or chaco.plots.api instead. This module will be removed in the next " - "major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/colormapped_scatterplot.py b/chaco/colormapped_scatterplot.py deleted file mode 100644 index 13ba6aece..000000000 --- a/chaco/colormapped_scatterplot.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.colormapped_scatterplot import ( # noqa: F401 - ColormappedScatterPlot, ColormappedScatterPlotView -) - -warnings.warn( - "Importing ColormappedScatterPlot or ColormappedScatterPlotView from this " - "module is deprecated. Please use chaco.api or chaco.plots.api instead. " - "This module will be removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/colormapped_selection_overlay.py b/chaco/colormapped_selection_overlay.py deleted file mode 100644 index 3bf36febd..000000000 --- a/chaco/colormapped_selection_overlay.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.colormapped_selection_overlay import ( # noqa: F401 - ColormappedSelectionOverlay -) - -warnings.warn( - "Importing ColormappedSelectionOverlay from this module is deprecated. " - "Please use chaco.api or chaco.overlays.api instead. This module will be " - "removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/contour_line_plot.py b/chaco/contour_line_plot.py deleted file mode 100644 index c2e1a1f9f..000000000 --- a/chaco/contour_line_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.contour.contour_line_plot import ContourLinePlot # noqa: F401 - -warnings.warn( - "Importing ContourLinePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/contour_poly_plot.py b/chaco/contour_poly_plot.py deleted file mode 100644 index 79ad6db39..000000000 --- a/chaco/contour_poly_plot.py +++ /dev/null @@ -1,24 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -""" Defines the ContourPolyPlot class. -""" - -import warnings - -from chaco.plots.contour.contour_poly_plot import ContourPolyPlot # noqa: F401 - -warnings.warn( - "Importing ContourPolyPlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/data_label.py b/chaco/data_label.py deleted file mode 100644 index 0ea7432a4..000000000 --- a/chaco/data_label.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.data_label import DataLabel, draw_arrow, find_region - -warnings.warn( - "Importing DataLabel, draw_arrow, or find_region from this module is " - "deprecated. Please use chaco.api or chaco.overlays.api instead. This " - "module will be removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/errorbar_plot.py b/chaco/errorbar_plot.py deleted file mode 100644 index b5cd90796..000000000 --- a/chaco/errorbar_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.errorbar_plot import ErrorBarPlot # noqa: F401 - -warnings.warn( - "Importing ErrorBarPlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/filled_line_plot.py b/chaco/filled_line_plot.py deleted file mode 100644 index 4bc673bd8..000000000 --- a/chaco/filled_line_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.filled_line_plot import FilledLinePlot # noqa: F401 - -warnings.warn( - "Importing FilledLinePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/horizon_plot.py b/chaco/horizon_plot.py deleted file mode 100644 index 974fd7e62..000000000 --- a/chaco/horizon_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.horizon_plot import BandedMapper, HorizonPlot # noqa: F401 - -warnings.warn( - "Importing BandedMapper or HorizonPlot from this module is deprecated. " - "Please use chaco.api or chaco.plots.api instead. This module will be " - "removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/image_plot.py b/chaco/image_plot.py deleted file mode 100644 index 2a8a3f3e9..000000000 --- a/chaco/image_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.image_plot import ImagePlot # noqa: F401 - -warnings.warn( - "Importing ImagePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/jitterplot.py b/chaco/jitterplot.py deleted file mode 100644 index 4df04490f..000000000 --- a/chaco/jitterplot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.jitterplot import JitterPlot # noqa: F401 - -warnings.warn( - "Importing JitterPlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/lasso_overlay.py b/chaco/lasso_overlay.py deleted file mode 100644 index d2b3b0236..000000000 --- a/chaco/lasso_overlay.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.lasso_overlay import LassoOverlay # noqa: F401 - -warnings.warn( - "Importing LassoOverlay from this module is deprecated. Please use " - "chaco.api or chaco.overlays.api instead. This module will be removed in " - "the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/layers/status_layer.py b/chaco/layers/status_layer.py deleted file mode 100644 index 43bca0388..000000000 --- a/chaco/layers/status_layer.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.layers.status_layer import ( # noqa: F401 - ErrorLayer, StatusLayer, WarningLayer -) - -warnings.warn( - "Importing ErrorLayer, StatusLayer, or WarningLayer from this module is " - "deprecated. Please use chaco.api or chaco.overlays.api instead. This " - "module will be removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/layers/svg_range_selection_overlay.py b/chaco/layers/svg_range_selection_overlay.py deleted file mode 100644 index 355f244b0..000000000 --- a/chaco/layers/svg_range_selection_overlay.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.layers.svg_range_selection_overlay import ( # noqa: F401 - SvgRangeSelectionOverlay -) - -warnings.warn( - "Importing SvgRangeSelectionOverlay from this module is deprecated. " - "Please use chaco.api or chaco.overlays.api instead. This module will be " - "removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/legend.py b/chaco/legend.py deleted file mode 100644 index 027b6f33a..000000000 --- a/chaco/legend.py +++ /dev/null @@ -1,24 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.legend import ( # noqa: F401 - AbstractCompositeIconRenderer, CompositeIconRenderer, Legend -) - -warnings.warn( - "Importing AbstractCompositeIconRenderer, CompositeIconRenderer, or Legend" - " from this module is deprecated. Please use chaco.api or " - "chaco.overlays.api instead. This module will be removed in the next major" - " release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/line_scatterplot_1d.py b/chaco/line_scatterplot_1d.py deleted file mode 100644 index 4150258e7..000000000 --- a/chaco/line_scatterplot_1d.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.line_scatterplot_1d import LineScatterPlot1D # noqa: F401 - -warnings.warn( - "Importing LineScatterPlot1D from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/lineplot.py b/chaco/lineplot.py deleted file mode 100644 index efac03be7..000000000 --- a/chaco/lineplot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.lineplot import LinePlot # noqa: F401 - -warnings.warn( - "Importing LinePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/multi_line_plot.py b/chaco/multi_line_plot.py deleted file mode 100644 index 04a713d88..000000000 --- a/chaco/multi_line_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.multi_line_plot import MultiLinePlot # noqa: F401 - -warnings.warn( - "Importing MultiLinePlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/plot_label.py b/chaco/plot_label.py deleted file mode 100644 index 005a5a0c1..000000000 --- a/chaco/plot_label.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.plot_label import PlotLabel # noqa: F401 - -warnings.warn( - "Importing PlotLabel from this module is deprecated. Please use chaco.api " - "or chaco.overlays.api instead. This module will be removed in the next " - "major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/polar_line_renderer.py b/chaco/polar_line_renderer.py deleted file mode 100644 index 945b4ba61..000000000 --- a/chaco/polar_line_renderer.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.polar_line_renderer import PolarLineRenderer # noqa: F401 - -warnings.warn( - "Importing PolarLineRenderer from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/polygon_plot.py b/chaco/polygon_plot.py deleted file mode 100644 index accd0426f..000000000 --- a/chaco/polygon_plot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.polygon_plot import PolygonPlot # noqa: F401 - -warnings.warn( - "Importing PolygonPlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/quiverplot.py b/chaco/quiverplot.py deleted file mode 100644 index 49b7b5883..000000000 --- a/chaco/quiverplot.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.quiverplot import QuiverPlot # noqa: F401 - -warnings.warn( - "Importing QuiverPlot from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/scatter_inspector_overlay.py b/chaco/scatter_inspector_overlay.py deleted file mode 100644 index 9cff8903a..000000000 --- a/chaco/scatter_inspector_overlay.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.scatter_inspector_overlay import ( # noqa: F401 - ScatterInspectorOverlay -) - -warnings.warn( - "Importing ScatterInspectorOverlay from this module is deprecated. " - "Please use chaco.api or chaco.overlays.api instead. This module will be " - "removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/scatterplot.py b/chaco/scatterplot.py deleted file mode 100644 index dbbb15efd..000000000 --- a/chaco/scatterplot.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.scatterplot import ( # noqa: F401 - render_markers, ScatterPlot, ScatterPlotView -) - -warnings.warn( - "Importing render_markers, ScatterPlot, or ScatterPlotView from this " - "module is deprecated. Please use chaco.api or chaco.plots.api instead. " - "This module will be removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/scatterplot_1d.py b/chaco/scatterplot_1d.py deleted file mode 100644 index 81004698a..000000000 --- a/chaco/scatterplot_1d.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.scatterplot_1d import ScatterPlot1D # noqa: F401 - -warnings.warn( - "Importing ScatterPlot1D from this module is deprecated. Please use " - "chaco.api or chaco.plots.api instead. This module will be removed in the " - "next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/segment_plot.py b/chaco/segment_plot.py deleted file mode 100644 index b21215751..000000000 --- a/chaco/segment_plot.py +++ /dev/null @@ -1,23 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.segment_plot import ( # noqa: F401 - ColormappedSegmentPlot, SegmentPlot -) - -warnings.warn( - "Importing ColormappedSegmentPlot or SegmentPlot from this module is " - "deprecated. Please use chaco.api or chaco.plots.api instead. This module " - "will be removed in the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/text_box_overlay.py b/chaco/text_box_overlay.py deleted file mode 100644 index fdb23f9cb..000000000 --- a/chaco/text_box_overlay.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.text_box_overlay import TextBoxOverlay # noqa: F401 - -warnings.warn( - "Importing TextBoxOverlay from this module is deprecated. Please use " - "chaco.api or chaco.overlays.api instead. This module will be removed in " - "the next major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/text_plot.py b/chaco/text_plot.py deleted file mode 100644 index 62cc40551..000000000 --- a/chaco/text_plot.py +++ /dev/null @@ -1,24 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -""" -A plot that renders text values in two dimensions -""" -import warnings - -from chaco.plots.text_plot import TextPlot # noqa: F401 - -warnings.warn( - "Importing TextPlot from this module is deprecated. Please use chaco.api " - "or chaco.plots.api instead. This module will be removed in the next major" - " release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/text_plot_1d.py b/chaco/text_plot_1d.py deleted file mode 100644 index 8534a033c..000000000 --- a/chaco/text_plot_1d.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.plots.text_plot_1d import TextPlot1D # noqa: F401 - -warnings.warn( - "Importing TextPlot1D from this module is deprecated. Please use chaco.api" - " or chaco.plots.api instead. This module will be removed in the next " - "major release.", - DeprecationWarning, - stacklevel=2, -) diff --git a/chaco/tooltip.py b/chaco/tooltip.py deleted file mode 100644 index 734b513a2..000000000 --- a/chaco/tooltip.py +++ /dev/null @@ -1,21 +0,0 @@ -# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -import warnings - -from chaco.overlays.tooltip import ToolTip # noqa: F401 - -warnings.warn( - "Importing ToolTip from this module is deprecated. Please use chaco.api or" - " chaco.overlays.api instead. This module will be removed in the next " - "major release.", - DeprecationWarning, - stacklevel=2, -)