Skip to content

Commit

Permalink
Doc: fixed test script relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Sep 16, 2023
1 parent 20a031c commit 76a6c86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/dev/guiqwt_to_plotpy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ As a consequence :
you may consider using the :py:attr:`.PlotType.AUTO`
or :py:attr:`.PlotType.MANUAL` values if they fit your needs.

See demo script `tests/gui/plot_types.py`.
See demo script `tests/gui/test_plot_types.py`.

Minor changes to the BasePlot class
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -121,7 +121,7 @@ Some new methods were added to class :py:class:`.PlotManager`:
You may use those methods to simplify you code if you were previously registering
annotation tools one by one.

See demo script `test/gui/annotations.py`.
See demo script `tests/gui/test_annotations.py`.

New contour function
~~~~~~~~~~~~~~~~~~~~
Expand All @@ -130,7 +130,7 @@ plotpy integrates now a contour detection algorithm, so that plotpy based
applications depending on matplotlib only for this function can drop this
additional dependency.

See demo script `tests/gui/contour.py`.
See demo script `tests/gui/test_contour.py`.

MaskedXYImages
~~~~~~~~~~~~~~
Expand All @@ -141,7 +141,7 @@ You can now use the :py:class:`.MaskedXYImageItem` to apply masks to XYImageItem
You can use the convenience methods :py:meth:`.PlotItemBuilder.maskedxyimage` to
help you build such items.

See demo script `tests/gui/image_masked_xy.py`.
See demo script `tests/gui/test_image_masked_xy.py`.

New options added to item builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -173,22 +173,22 @@ The new keyword parameter ``lut_range`` has been added to the methods
and :py:meth:`.PlotItemBuilder.trimage`, so you can now avoid to make calls
to set_lut_range after the PlotItem is built.

See demo script `tests/gui/builder.py`.
See demo script `tests/gui/test_builder.py`.

The method :py:meth:`.PlotItemBuilder.image` now accepts
optional ``x`` and ``y`` keyword arguments, to automatically create a
:py:class:`plotpy.core.items.XYImageItem` instead of a simple
:py:class:`plotpy.core.items.ImageItem` if needed.

See demo script `tests/gui/builder.py`.
See demo script `tests/gui/test_builder.py`.

The method :py:meth:`.PlotItemBuilder.curve` now accepts
optional ``dx``, ``dy``, ``errorbarwidth``, ``errorbarcap``, ``errorbarmode``,
`errorbaralpha` keyword arguments, to automatically create a
:py:class:`plotpy.core.items.ErrorBarCurveItem` instead of a simple
:py:class:`plotpy.core.items.CurveItem` if needed.

See demo script `tests/gui/builder.py`.
See demo script `tests/gui/test_builder.py`.

Transformation (translation, rotate, resize) of ImageItem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -201,4 +201,4 @@ Auto-scaling and shapes
Auto-scaling takes now into account visible shapes
(subclasses of :py:class:`.PolygonShape`).

See demo script `tests/gui/autoscale_shapes.py`.
See demo script `tests/gui/test_autoscale_shapes.py`.
3 changes: 3 additions & 0 deletions doc/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Optional modules for development:
* - Coverage
-
- Code coverage measurement for Python
* - Cython
-
- The Cython compiler for writing C extensions in the Python language.

Optional modules for building the documentation:

Expand Down

0 comments on commit 76a6c86

Please sign in to comment.