From 5fd22b7e6ef6bd3d9d84a461cf0cdb9368642c3f Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Sat, 1 May 2021 09:01:05 -0700 Subject: [PATCH] Fix colormapwidget sphinx links --- doc/source/widgets/colormapwidget.rst | 4 ++-- pyqtgraph/__init__.py | 1 + pyqtgraph/widgets/ColorMapWidget.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/widgets/colormapwidget.rst b/doc/source/widgets/colormapwidget.rst index 255ca238..6eb18c2c 100644 --- a/doc/source/widgets/colormapwidget.rst +++ b/doc/source/widgets/colormapwidget.rst @@ -6,7 +6,7 @@ ColorMapWidget .. automethod:: pyqtgraph.ColorMapWidget.__init__ - .. automethod:: pyqtgraph.widgets.ColorMapWidget.ColorMapParameter.setFields + .. automethod:: pyqtgraph.ColorMapParameter.setFields - .. automethod:: pyqtgraph.widgets.ColorMapWidget.ColorMapParameter.map + .. automethod:: pyqtgraph.ColorMapParameter.map \ No newline at end of file diff --git a/pyqtgraph/__init__.py b/pyqtgraph/__init__.py index 916e937e..eefdeb97 100644 --- a/pyqtgraph/__init__.py +++ b/pyqtgraph/__init__.py @@ -263,6 +263,7 @@ from .widgets.TableWidget import * from .widgets.ProgressDialog import * from .widgets.GroupBox import GroupBox from .widgets.RemoteGraphicsView import RemoteGraphicsView +from .widgets.ColorMapWidget import * from .imageview import * from .WidgetGroup import * diff --git a/pyqtgraph/widgets/ColorMapWidget.py b/pyqtgraph/widgets/ColorMapWidget.py index ee153423..994854ae 100644 --- a/pyqtgraph/widgets/ColorMapWidget.py +++ b/pyqtgraph/widgets/ColorMapWidget.py @@ -4,7 +4,7 @@ import numpy as np from collections import OrderedDict from .. import functions as fn -__all__ = ['ColorMapWidget'] +__all__ = ['ColorMapWidget', 'ColorMapParameter'] class ColorMapWidget(ptree.ParameterTree): """