Skip to content

Commit e5353aa

Browse files
committed
Doc: fix import statement for PlotWidget in examples.rst
1 parent 877a9bb commit e5353aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/features/items/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ using :py:class:`.PlotWidget` and :py:class:`.PlotOptions`::
6666

6767
>>> import guidata
6868
>>> app = guidata.qapplication()
69-
>>> from plotpy.widgets.baseplot import PlotWidget, PlotOptions
69+
>>> from plotpy.plot import PlotWidget, PlotOptions
7070
>>> plot = PlotWidget(options=PlotOptions(title="Example", type="image"))
7171

7272
...or using the :py:class:`.PlotBuilder` (see :py:attr:`plotpy.builder.make`)::

0 commit comments

Comments
 (0)