Skip to content

Commit 133442d

Browse files
committed
Doc: migrating from plotpy v1 to guidata v3
1 parent 96624e9 commit 133442d

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

doc/dev/guiqwt_to_plotpy.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
guiqwt v4,plotpy v2,API changes
1+
guiqwt v4,PlotPy v2,API changes
22
``guiqwt.events``,``plotpy.events``
33
``guiqwt.interfaces``,``plotpy.interfaces``
44
``guiqwt.io``,``plotpy.io``

doc/dev/v1_to_guidata_v3.csv

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
plotpy v1,guidata v3
2+
3+
``.gui.dataitems.*``,``.dataset.*``
4+
``.gui.datatypes.*``,``.dataset.*``
5+
``.gui.dataset.qtitemwidgets``,``.dataset.qtitemwidgets``
6+
``.gui.dataset.qtwidgets``,``.dataset.qtwidgets``
7+
``.core.io.hdf5io``,``.dataset.io.h5fmt``
8+
``.core.config.userconfigio``,``.dataset.io.inifmt``
9+
``.core.config.userconfig``,``.userconfig``
10+
``.core.utils.disthelpers``,*removed*

doc/dev/v1_to_v2.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plotpy v1,plotpy v2 (and v1.99+)
1+
plotpy v1,plotpy v2
22

33
``.gui.widgets.interfaces``,``.interfaces``
44
``.gui.widgets.items``,``.items``

doc/dev/v1_to_v2.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ This section describes the steps to migrate python code using plotpy V1 to plotp
66
Updating the imports
77
^^^^^^^^^^^^^^^^^^^^
88

9-
The following table gives the equivalence between plotpy V1 and plotpy V2 classes.
9+
PlotPy V1 to PlotPy V2
10+
~~~~~~~~~~~~~~~~~~~~~~
11+
12+
The following table gives the equivalence between plotpy V1 and plotpy V2 imports
13+
or objects.
1014

1115
For most of them, the change in the module path is the only difference (only
1216
the import statement have to be updated in your client code). For others, the
@@ -16,6 +20,18 @@ required in your code.
1620
.. csv-table:: Compatibility table
1721
:file: v1_to_v2.csv
1822

23+
PlotPy V1 to guidata V3
24+
~~~~~~~~~~~~~~~~~~~~~~~
25+
26+
With the release of PlotPy V2, the ``DataSet`` related features have been moved
27+
to the `guidata` package (from where they were originally extracted).
28+
29+
The following table gives the equivalence between PlotPy V1 and guidata V3 imports
30+
or objects.
31+
32+
.. csv-table:: Compatibility table
33+
:file: v1_to_guidata_v3.csv
34+
1935
New method for thresholding image item LUTs
2036
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2137

0 commit comments

Comments
 (0)