From 40c6c6c4c8fb6f6280eb085701bf48ddb9f0685b Mon Sep 17 00:00:00 2001 From: Aaron Ayres Date: Tue, 15 Jun 2021 10:58:34 -0500 Subject: [PATCH 1/2] update links in documentation as examples were moved inside package --- docs/source/annotated_examples.rst | 96 +++++++++---------- .../user_manual/tutorial_hyetograph.rst | 2 +- .../user_manual/tutorial_van_der_waal.rst | 2 +- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/docs/source/annotated_examples.rst b/docs/source/annotated_examples.rst index d1aab6b1e..d795d23f3 100644 --- a/docs/source/annotated_examples.rst +++ b/docs/source/annotated_examples.rst @@ -17,7 +17,7 @@ examples as starting points for their own applications. ----------------------- An example showing Chaco's BarPlot class. -source: `bar_plot_stacked.py `_ +source: `bar_plot_stacked.py `_ .. image:: example_images/bar_plot.png @@ -33,7 +33,7 @@ of the backbuffering built into chaco. Zooming with the mousewheel and the zoombox (as described in simple_line.py) is also available, but panning is not. -source: `bigdata.py `_ +source: `bigdata.py `_ .. image:: example_images/bigdata.png @@ -41,7 +41,7 @@ source: `bigdata.py `_ +source: `cmap_image_plot.py `_ .. image:: example_images/cmap_image_plot.png @@ -50,7 +50,7 @@ source: `cmap_image_plot.py `_ +source: `cmap_image_select.py `_ .. image:: example_images/cmap_image_select.png @@ -58,7 +58,7 @@ source: `cmap_image_select.py `_ +source: `cmap_scatter.py `_ .. image:: example_images/cmap_scatter.png @@ -66,7 +66,7 @@ source: `cmap_scatter.py `_ +source: `countour_cmap_plot.py `_ .. image:: example_images/contour_cmap_plot.png @@ -74,7 +74,7 @@ source: `countour_cmap_plot.py `_ +source: `countour_plot.py `_ .. image:: example_images/contour_plot.png @@ -85,7 +85,7 @@ A Demonstration of the CursorTool functionality Left-button drag to move the cursors round. Right-drag to pan the plots. 'z'-key to Zoom -source: `cursor_tool_demo.py `_ +source: `cursor_tool_demo.py `_ .. image:: example_images/cursor_tool_demo.png @@ -93,7 +93,7 @@ source: `cursor_tool_demo.py `_ +source: `data_cube.py `_ .. image:: example_images/data_cube.png @@ -102,7 +102,7 @@ source: `data_cube.py `_ +source: `data_labels.py `_ .. image:: example_images/data_labels.png @@ -117,7 +117,7 @@ device from which the data is being acquired; in this case, it is a mockup random number generator whose mean and standard deviation can be controlled by the user. -source: `data_stream.py `_ +source: `data_stream.py `_ .. image:: example_images/data_stream.png @@ -125,7 +125,7 @@ source: `data_stream.py `_ +source: `data_view.py `_ .. image:: example_images/data_view.png @@ -133,7 +133,7 @@ source: `data_view.py `_ +source: `edit_line.py `_ .. image:: example_images/edit_line.png @@ -143,7 +143,7 @@ Implementation of a standard financial plot visualization using Chaco renderers and scales. Right-clicking and selecting an area in the top window zooms in the corresponding area in the lower window. -source: `financial_plot.py `_ +source: `financial_plot.py `_ .. image:: example_images/financial_plot.png @@ -155,7 +155,7 @@ the corresopnding area in the lower window. This differs from the financial_plot.py example in that it uses a date-oriented axis. -source: `financial_plot_dates.py `_ +source: `financial_plot_dates.py `_ .. image:: example_images/financial_plot_dates.png @@ -163,7 +163,7 @@ source: `financial_plot_dates.py `_ +source: `grid_container.py `_ .. image:: example_images/grid_container.png @@ -172,7 +172,7 @@ source: `grid_container.py `_ +source: `grid_container_aspect_ratio.py `_ .. image:: example_images/grid_container_aspect_ratio.png @@ -180,7 +180,7 @@ source: `grid_container_aspect_ratio.py `_ +source: `image_from_file.py `_ .. image:: example_images/image_from_file.png @@ -189,7 +189,7 @@ source: `image_from_file.py `_ +source: `image_inspector.py `_ .. image:: example_images/image_inspector.png @@ -197,7 +197,7 @@ source: `image_inspector.py `_ +source: `image_plot.py `_ .. image:: example_images/image_plot.png @@ -207,7 +207,7 @@ A modification of line_plot1.py that shows the second plot as a subwindow of the first. You can pan and zoom the second plot just like the first, and you can move it around my right-click and dragging in the smaller plot. -source: `inset_plot.py `_ +source: `inset_plot.py `_ .. image:: example_images/inset_plot.png @@ -216,7 +216,7 @@ source: `inset_plot.py `_ +source: `line_drawing.py `_ .. image:: example_images/line_drawing.png @@ -224,7 +224,7 @@ source: `line_drawing.py `_ +source: `line_plot1.py `_ .. image:: example_images/line_plot1.png @@ -232,7 +232,7 @@ source: `line_plot1.py `_ +source: `line_plot_hold.py `_ .. image:: example_images/line_plot_hold.png @@ -240,7 +240,7 @@ source: `line_plot_hold.py `_ +source: `log_plot.py `_ .. image:: example_images/log_plot.png @@ -250,7 +250,7 @@ Draws several overlapping line plots like simple_line.py, but uses a separate Y range for each plot. Also has a second Y-axis on the right hand side. Demonstrates use of the BroadcasterTool. -source: `multiaxis.py `_ +source: `multiaxis.py `_ .. image:: example_images/multiaxis.png @@ -264,7 +264,7 @@ Draws some x-y line and scatter plots. On the left hand plot: and alt-right-arrow moves you forwards and backwards through the "zoom history". -source: `multiaxis_using_Plot.py `_ +source: `multiaxis_using_Plot.py `_ .. image:: example_images/multiaxis_using_Plot.png @@ -272,7 +272,7 @@ source: `multiaxis_using_Plot.py `_ +source: `nans_plot.py `_ .. image:: example_images/nans_plot.png @@ -281,7 +281,7 @@ source: `nans_plot.py `_ +source: `noninteractive.py `_ .. image:: example_images/noninteractive.png @@ -290,7 +290,7 @@ source: `noninteractive.py `_ +source: `polygon_move.py `_ .. image:: example_images/polygon_move.png @@ -298,7 +298,7 @@ source: `polygon_move.py `_ +source: `polygon_plot_demo.py `_ .. image:: example_images/polygon_plot.png @@ -308,7 +308,7 @@ Demo of the RangeSelection on a line plot. Left-click and drag creates a horizontal range selection; this selection can then be dragged around, or resized by dragging its edges. -source: `range_selection_demo.py `_ +source: `range_selection_demo.py `_ .. image:: example_images/range_selection_demo.png @@ -321,7 +321,7 @@ around some points, and a line fit is drawn through the center of the points. The parameters of the line are displayed at the bottom of the plot region. You can do this repeatedly to draw different regions. -source: `regression.py `_ +source: `regression.py `_ .. image:: example_images/regression.png @@ -330,7 +330,7 @@ source: `regression.py `_ +source: `scalar_image_function_inspector.py `_ .. image:: example_images/scalar_image_function_inspector.png @@ -340,7 +340,7 @@ Draws several overlapping line plots. Double-clicking on line or scatter plots opens a Traits editor for the plot. -source: `scales_test.py `_ +source: `scales_test.py `_ .. image:: example_images/scales_test.png @@ -348,7 +348,7 @@ source: `scales_test.py `_ +source: `scatter.py `_ .. image:: example_images/scatter.png @@ -356,7 +356,7 @@ source: `scatter.py `_ +source: `scatter_inspector.py `_ .. image:: example_images/scatter_inspector.png @@ -367,7 +367,7 @@ the lasso selector, which allows you to circle a set of points. Upon completion of the lasso operation, the indices of the selected points are printed to the console. -source: `scatter_select.py `_ +source: `scatter_select.py `_ .. image:: example_images/scatter_select.png @@ -382,7 +382,7 @@ console output:: ------------------- Draws some x-y line and scatter plots. -source: `scrollbar.py `_ +source: `scrollbar.py `_ .. image:: example_images/scrollbar.png @@ -392,7 +392,7 @@ Draws several overlapping line plots. Double-clicking on line or scatter plots opens a Traits editor for the plot. -source: `simple_line.py `_ +source: `simple_line.py `_ .. image:: images/simple_line.png @@ -402,7 +402,7 @@ source: `simple_line.py `_ + source: `simple_polar.py `_ .. image:: example_images/simple_polar.png @@ -410,7 +410,7 @@ source: `simple_line.py `_ +source: `spectrum.py `_ .. image:: example_images/spectrum.png @@ -418,7 +418,7 @@ source: `spectrum.py `_ +source: `tabbed_plots.py `_ .. image:: example_images/tabbed_plots1.png .. image:: example_images/tabbed_plots2.png @@ -427,7 +427,7 @@ source: `tabbed_plots.py `_ +source: `tornado.py `_ .. image:: example_images/tornado.png @@ -435,7 +435,7 @@ source: `tornado.py `_ +source: `two_plots.py `_ .. image:: example_images/two_plots.png @@ -446,7 +446,7 @@ Draws a static plot of bessel functions, oriented vertically, side-by-side. You can experiment with using different containers (uncomment lines 32-33) or different orientations on the plots (comment out line 43 and uncomment 44). -source: `vertical_plot.py `_ +source: `vertical_plot.py `_ .. image:: example_images/vertical_plot.png @@ -461,7 +461,7 @@ Left-click pans the colorbar's data region. Right-click-drag selects a zoom range. Mousewheel up and down zoom in and out on the data bounds of the color bar. -source: `zoomable_colorbar.py `_ +source: `zoomable_colorbar.py `_ .. image:: example_images/zoomable_colorbar.png @@ -473,6 +473,6 @@ Right-click and drag on the upper plot to select a region to view in detail in the lower plot. The selected region can be moved around by dragging, or resized by clicking on one of its edges and dragging. -source: `zoomed_plot `_ +source: `zoomed_plot `_ .. image:: example_images/zoomed_plot.png diff --git a/docs/source/user_manual/tutorial_hyetograph.rst b/docs/source/user_manual/tutorial_hyetograph.rst index 2cda43010..c771a7c49 100644 --- a/docs/source/user_manual/tutorial_hyetograph.rst +++ b/docs/source/user_manual/tutorial_hyetograph.rst @@ -351,7 +351,7 @@ Source Code =========== The final version of the program, -`hyetograph.py `_. +`hyetograph.py `_. .. literalinclude:: /../../examples/demo/hyetograph.py :language: python diff --git a/docs/source/user_manual/tutorial_van_der_waal.rst b/docs/source/user_manual/tutorial_van_der_waal.rst index cf2332462..70f3c86ad 100644 --- a/docs/source/user_manual/tutorial_van_der_waal.rst +++ b/docs/source/user_manual/tutorial_van_der_waal.rst @@ -319,7 +319,7 @@ Source Code =========== The final version of the program, -`vanderwaals.py `_ +`vanderwaals.py `_ .. literalinclude:: /../../examples/demo/vanderwaals.py :language: python From 87d0e4da9953a5eeefc16f337deb63017cb4c403 Mon Sep 17 00:00:00 2001 From: Aaron Ayres Date: Tue, 15 Jun 2021 10:59:16 -0500 Subject: [PATCH 2/2] Chaco Release 5.0.0 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e8e834f57..fd9862500 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ MAJOR = 5 MINOR = 0 MICRO = 0 -PRERELEASE = "rc3" -IS_RELEASED = False +PRERELEASE = "" +IS_RELEASED = True # If this file is part of a Git export (for example created with "git archive", # or downloaded from GitHub), ARCHIVE_COMMIT_HASH gives the full hash of the