PythonQwt 0.12.3__tar.gz → 0.12.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pythonqwt-0.12.3/PythonQwt.egg-info → pythonqwt-0.12.5}/PKG-INFO +2 -2
- {pythonqwt-0.12.3 → pythonqwt-0.12.5/PythonQwt.egg-info}/PKG-INFO +2 -2
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt.egg-info/requires.txt +1 -1
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/pyproject.toml +2 -2
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/__init__.py +1 -1
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_curve.py +2 -2
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/symbol.py +1 -2
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_errorbar.py +1 -1
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/utils.py +4 -1
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/LICENSE +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/MANIFEST.in +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt-tests.desktop +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt.egg-info/SOURCES.txt +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt.egg-info/dependency_links.txt +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt.egg-info/entry_points.txt +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/PythonQwt.egg-info/top_level.txt +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/README.md +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/_static/PythonQwt_logo.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/_static/QwtPlot_example.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/_static/panorama.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/_static/symbol_path_example.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/conf.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/bodedemo.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/cartesian.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/cpudemo.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/curvebenchmark1.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/curvebenchmark2.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/curvedemo1.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/curvedemo2.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/data.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/errorbar.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/eventfilter.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/image.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/index.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/logcurve.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/mapdemo.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/multidemo.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/simple.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/examples/vertical.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/index.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/installation.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/overview.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/plot_example.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/graphic.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/index.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/interval.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/plot.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/plot_directpainter.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/plot_layout.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/plot_series.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/scale.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/symbol.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/text.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/toqimage.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/reference/transform.rst +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/requirements.txt +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/doc/symbol_path_example.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/_math.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/color_map.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/column_symbol.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/dyngrid_layout.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/graphic.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/interval.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/legend.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/null_paintdevice.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/painter.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/painter_command.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_canvas.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_directpainter.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_grid.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_layout.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_marker.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_renderer.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/plot_series.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/qthelpers.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/scale_div.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/scale_draw.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/scale_engine.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/scale_map.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/scale_widget.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/__init__.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/comparative_benchmarks.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/PythonQwt.svg +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/bodedemo.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/cartesian.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/cpudemo.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/curvebenchmark1.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/curvebenchmark2.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/curvedemo1.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/curvedemo2.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/data.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/errorbar.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/eventfilter.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/image.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/loadtest.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/logcurve.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/mapdemo.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/multidemo.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/simple.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/stylesheet.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/symbol.svg +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/symbols.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/testlauncher.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/data/vertical.png +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_backingstore.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_bodedemo.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_cartesian.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_cpudemo.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_curvebenchmark1.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_curvebenchmark2.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_curvedemo1.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_curvedemo2.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_data.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_eventfilter.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_highdpi.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_image.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_loadtest.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_logcurve.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_mapdemo.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_multidemo.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_simple.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_stylesheet.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_symbols.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/tests/test_vertical.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/text.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/toqimage.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/qwt/transform.py +0 -0
- {pythonqwt-0.12.3 → pythonqwt-0.12.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PythonQwt
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.5
|
|
4
4
|
Summary: Qt plotting widgets for Python
|
|
5
5
|
Author-email: Pierre Raybaut <pierre.raybaut@gmail.com>
|
|
6
6
|
License: PythonQwt License Agreement
|
|
@@ -686,7 +686,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
686
686
|
Requires-Python: <4,>=3.8
|
|
687
687
|
Description-Content-Type: text/markdown
|
|
688
688
|
License-File: LICENSE
|
|
689
|
-
Requires-Dist: NumPy
|
|
689
|
+
Requires-Dist: NumPy>=1.21
|
|
690
690
|
Requires-Dist: QtPy>=1.9
|
|
691
691
|
Provides-Extra: dev
|
|
692
692
|
Requires-Dist: ruff; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PythonQwt
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.5
|
|
4
4
|
Summary: Qt plotting widgets for Python
|
|
5
5
|
Author-email: Pierre Raybaut <pierre.raybaut@gmail.com>
|
|
6
6
|
License: PythonQwt License Agreement
|
|
@@ -686,7 +686,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
686
686
|
Requires-Python: <4,>=3.8
|
|
687
687
|
Description-Content-Type: text/markdown
|
|
688
688
|
License-File: LICENSE
|
|
689
|
-
Requires-Dist: NumPy
|
|
689
|
+
Requires-Dist: NumPy>=1.21
|
|
690
690
|
Requires-Dist: QtPy>=1.9
|
|
691
691
|
Provides-Extra: dev
|
|
692
692
|
Requires-Dist: ruff; extra == "dev"
|
|
@@ -31,7 +31,7 @@ classifiers = [
|
|
|
31
31
|
"Programming Language :: Python :: 3.12",
|
|
32
32
|
]
|
|
33
33
|
requires-python = ">=3.8, <4"
|
|
34
|
-
dependencies = ["NumPy>=1.21
|
|
34
|
+
dependencies = ["NumPy>=1.21", "QtPy>=1.9"]
|
|
35
35
|
dynamic = ["version"]
|
|
36
36
|
|
|
37
37
|
[project.urls]
|
|
@@ -63,7 +63,7 @@ target-version = "py38" # Assume Python 3.8
|
|
|
63
63
|
|
|
64
64
|
[tool.ruff.lint]
|
|
65
65
|
# all rules can be found here: https://beta.ruff.rs/docs/rules/
|
|
66
|
-
select = ["E", "F", "W", "I"]
|
|
66
|
+
select = ["E", "F", "W", "I", "NPY201"]
|
|
67
67
|
ignore = [
|
|
68
68
|
"E203", # space before : (needed for how black formats slicing)
|
|
69
69
|
]
|
|
@@ -55,7 +55,7 @@ from qwt.symbol import QwtSymbol as QSbl # see deprecated section
|
|
|
55
55
|
from qwt.text import QwtText # noqa: F401
|
|
56
56
|
from qwt.toqimage import array_to_qimage as toQImage # noqa: F401
|
|
57
57
|
|
|
58
|
-
__version__ = "0.12.
|
|
58
|
+
__version__ = "0.12.5"
|
|
59
59
|
QWT_VERSION_STR = "6.1.5"
|
|
60
60
|
|
|
61
61
|
|
|
@@ -94,8 +94,8 @@ def array2d_to_qpolygonf(xdata, ydata):
|
|
|
94
94
|
buffer = polyline.data()
|
|
95
95
|
buffer.setsize(16 * size) # 16 bytes per point: 8 bytes per X,Y value (float64)
|
|
96
96
|
memory = np.frombuffer(buffer, np.float64)
|
|
97
|
-
memory[: (size - 1) * 2 + 1 : 2] = np.
|
|
98
|
-
memory[1 : (size - 1) * 2 + 2 : 2] = np.
|
|
97
|
+
memory[: (size - 1) * 2 + 1 : 2] = np.asarray(xdata, dtype=np.float64)
|
|
98
|
+
memory[1 : (size - 1) * 2 + 2 : 2] = np.asarray(ydata, dtype=np.float64)
|
|
99
99
|
return polyline
|
|
100
100
|
|
|
101
101
|
|
|
@@ -19,7 +19,6 @@ from qtpy.QtCore import QLineF, QPoint, QPointF, QRect, QRectF, QSize, QSizeF, Q
|
|
|
19
19
|
from qtpy.QtGui import (
|
|
20
20
|
QBrush,
|
|
21
21
|
QPainter,
|
|
22
|
-
QPainterPath,
|
|
23
22
|
QPen,
|
|
24
23
|
QPixmap,
|
|
25
24
|
QPolygonF,
|
|
@@ -346,7 +345,7 @@ class QwtSymbol_PrivateData(object):
|
|
|
346
345
|
|
|
347
346
|
class Path(object):
|
|
348
347
|
def __init__(self):
|
|
349
|
-
self.path = QPainterPath()
|
|
348
|
+
self.path = None # QPainterPath()
|
|
350
349
|
self.graphic = QwtGraphic()
|
|
351
350
|
|
|
352
351
|
self.path = Path()
|
|
@@ -162,7 +162,10 @@ class TestLauncher(QW.QMainWindow):
|
|
|
162
162
|
all_act.triggered.connect(lambda checked: run_all_tests(wait=False))
|
|
163
163
|
folder_act = QW.QAction(self.get_std_icon("DirOpenIcon"), "", self)
|
|
164
164
|
folder_act.setIconText("Open tests folder")
|
|
165
|
-
|
|
165
|
+
|
|
166
|
+
def open_test_folder(checked):
|
|
167
|
+
return os.startfile(TEST_PATH)
|
|
168
|
+
|
|
166
169
|
folder_act.triggered.connect(open_test_folder)
|
|
167
170
|
about_act = QW.QAction(self.get_std_icon("FileDialogInfoView"), "", self)
|
|
168
171
|
about_act.setIconText("About")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|