Skip to content

Commit 60989d6

Browse files
committed
Splitted builder.py into several modules
1 parent 39c4a42 commit 60989d6

24 files changed

+3191
-2978
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ htmlcov
5252

5353
# Other
5454
*.bak
55+
*_ui.py
5556
/plotpy/tests/gui/loadsavecanvas.h5

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
max-line-length=88
55

66
[TYPECHECK]
7-
ignored-modules=qtpy.QtWidgets,qtpy.QtCore,qtpy.QtGui,qtpy.QtPrintSupport,qtpy.QtDesigner,plotpy._scaler,plotpy.mandelbrot,plotpy.contour2d,plotpy.histogram2d
7+
ignored-modules=qtpy.QtWidgets,qtpy.QtCore,qtpy.QtGui,qtpy.QtSvg,qtpy.QtPrintSupport,qtpy.QtDesigner,plotpy._scaler,plotpy.mandelbrot,plotpy.contour2d,plotpy.histogram2d
88

99
[MESSAGES CONTROL]
1010
disable=wrong-import-order

doc/dev/guiqwt_to_plotpy.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ The new keyword parameter ``alpha_function`` has been added to the methods
184184
compute the alpha channel of the image from the data values. The supported
185185
functions are:
186186

187-
* :py:attr:`plotpy.builder.LUTAlpha.NONE` (default)
188-
* :py:attr:`plotpy.builder.LUTAlpha.CONSTANT`
189-
* :py:attr:`plotpy.builder.LUTAlpha.LINEAR`
190-
* :py:attr:`plotpy.builder.LUTAlpha.SIGMOID`
191-
* :py:attr:`plotpy.builder.LUTAlpha.TANH`
187+
* :py:attr:`plotpy.constants.LUTAlpha.NONE` (default)
188+
* :py:attr:`plotpy.constants.LUTAlpha.CONSTANT`
189+
* :py:attr:`plotpy.constants.LUTAlpha.LINEAR`
190+
* :py:attr:`plotpy.constants.LUTAlpha.SIGMOID`
191+
* :py:attr:`plotpy.constants.LUTAlpha.TANH`
192192

193193
.. warning:: The ``alpha_mask`` parameter has been removed from the methods
194194
:py:meth:`.PlotBuilder.image`, :py:meth:`.PlotBuilder.xyimage`,

doc/dev/v1_to_v2.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ The new keyword parameter ``alpha_function`` has been added to the methods
5656
compute the alpha channel of the image from the data values. The supported
5757
functions are:
5858

59-
* :py:attr:`plotpy.builder.LUTAlpha.NONE` (default)
60-
* :py:attr:`plotpy.builder.LUTAlpha.CONSTANT`
61-
* :py:attr:`plotpy.builder.LUTAlpha.LINEAR`
62-
* :py:attr:`plotpy.builder.LUTAlpha.SIGMOID`
63-
* :py:attr:`plotpy.builder.LUTAlpha.TANH`
59+
* :py:attr:`plotpy.constants.LUTAlpha.NONE` (default)
60+
* :py:attr:`plotpy.constants.LUTAlpha.CONSTANT`
61+
* :py:attr:`plotpy.constants.LUTAlpha.LINEAR`
62+
* :py:attr:`plotpy.constants.LUTAlpha.SIGMOID`
63+
* :py:attr:`plotpy.constants.LUTAlpha.TANH`
6464

6565
.. warning:: The ``alpha_mask`` parameter has been removed from the methods
6666
:py:meth:`.PlotBuilder.image`, :py:meth:`.PlotBuilder.xyimage`,

doc/features/items/builder.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ used to simplify the creation of plot items.
88

99
.. autodata:: plotpy.builder.make
1010

11-
.. autoclass:: plotpy.builder.LUTAlpha
11+
.. autoclass:: plotpy.constants.LUTAlpha
1212
:members:
1313

1414
.. autoclass:: plotpy.builder.PlotBuilder
15-
:members:
15+
:members: widget,dialog,window,gridparam,grid,mcurve,pcurve,curve,merror,perror,error,histogram,phistogram,range,vcursor,hcursor,xcursor,marker,image,maskedimage,maskedxyimage,rgbimage,quadgrid,pcolor,trimage,xyimage,imagefilter,contours,histogram2D,rectangle,ellipse,polygon,circle,segment,svg,annotated_point,annotated_rectangle,annotated_ellipse,annotated_circle,annotated_segment,label,legend,info_label,range_info_label,computation,computations,computation2d,computations2d

0 commit comments

Comments
 (0)