Skip to content

Commit 61f833f

Browse files
committed
Fix API breakage in colormaps module
1 parent 00a31ae commit 61f833f

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
Bug fixes:
66

7+
* API breakage (unintentional) in V2.1.0:
8+
* In V2.1.0, `mathutils.colormap` module was renamed to `mathutils.colormaps`
9+
* Original `mathutils.colormap` module naming is restored in this release
710
* Colormap selection from the toolbar was not triggering the `SIG_ITEMS_CHANGED` signal
811
(every time an item parameter is changed, the `SIG_ITEMS_CHANGED` signal has to be
912
emitted by the `BasePlot` instance to notify the application that the plot has been

doc/dev/guiqwt_to_plotpy.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ guiqwt v4,PlotPy v2,API changes
3131
``guiqwt.pyplot``,``plotpy.pyplot``
3232
``guiqwt.styles``,``plotpy.styles``
3333
``guiqwt.tools``,``plotpy.tools``
34-
``guiqwt.colormap``,``plotpy.mathutils.colormaps``
34+
``guiqwt.colormap``,``plotpy.mathutils.colormap``
3535
``guiqwt.geometry``,``plotpy.mathutils.geometry``
3636
``guiqwt.qthelpers.exec_image_save_dialog``,``plotpy.widgets.imagefile.exec_image_save_dialog``
3737
``guiqwt.qthelpers.exec_image_open_dialog``,``plotpy.widgets.imagefile.exec_image_open_dialog``

doc/dev/v1_to_v2.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plotpy v1,plotpy v2
1818
``.gui.widgets.histogram.ContrastAdjustment``,``.panels.contrastadjustment.ContrastAdjustment``
1919
``.gui.widgets.io``,``.io``
2020
``.gui.widgets.io.eliminate_outliers``,*removed*
21-
``.gui.widgets.colormap``,``.mathutils.colormaps``
21+
``.gui.widgets.colormap``,``.mathutils.colormap``
2222
``.gui.widgets.debug``,*removed*
2323
``.gui.widgets.debug.buttons_to_str``,``.events.buttons_to_str``
2424
``.gui.widgets.debug.evt_type_to_str``,``.events.evt_type_to_str``

doc/features/mathutils/colormaps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.. automodule:: plotpy.mathutils.colormaps
1+
.. automodule:: plotpy.mathutils.colormap
File renamed without changes.

0 commit comments

Comments
 (0)