PythonQwt 0.10.2__tar.gz → 0.10.4__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.10.2 → PythonQwt-0.10.4}/CHANGELOG.md +22 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/MANIFEST.in +1 -2
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/PKG-INFO +7 -9
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/PythonQwt.egg-info/PKG-INFO +7 -9
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/PythonQwt.egg-info/SOURCES.txt +27 -36
- PythonQwt-0.10.4/PythonQwt.egg-info/entry_points.txt +5 -0
- PythonQwt-0.10.4/PythonQwt.egg-info/requires.txt +11 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/README.md +9 -2
- PythonQwt-0.10.4/doc/_static/PythonQwt_logo.png +0 -0
- PythonQwt-0.10.4/doc/_static/QwtPlot_example.png +0 -0
- PythonQwt-0.10.4/doc/_static/symbol_path_example.png +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/conf.py +1 -3
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/bodedemo.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/cartesian.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/cpudemo.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/curvebenchmark1.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/curvebenchmark2.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/curvedemo1.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/curvedemo2.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/data.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/errorbar.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/eventfilter.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/image.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/logcurve.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/mapdemo.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/multidemo.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/simple.rst +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/vertical.rst +1 -1
- PythonQwt-0.10.4/doc/index.rst +17 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/installation.rst +2 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/plot_example.py +6 -11
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/scale.rst +2 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/symbol_path_example.py +2 -7
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/__init__.py +3 -2
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/_math.py +0 -2
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot.py +7 -18
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_canvas.py +14 -5
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_marker.py +1 -1
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_renderer.py +1 -3
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/qthelpers.py +24 -2
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/scale_engine.py +1 -3
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/symbol.py +4 -4
- PythonQwt-0.10.4/qwt/tests/__init__.py +40 -0
- PythonQwt-0.10.4/qwt/tests/conftest.py +9 -0
- PythonQwt-0.10.4/qwt/tests/data/PythonQwt.svg +484 -0
- PythonQwt-0.10.4/qwt/tests/data/bodedemo.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/cartesian.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/cpudemo.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/curvebenchmark1.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/curvebenchmark2.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/curvedemo1.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/curvedemo2.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/data.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/errorbar.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/eventfilter.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/image.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/loadtest.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/logcurve.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/mapdemo.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/multidemo.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/simple.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/stylesheet.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/testlauncher.png +0 -0
- PythonQwt-0.10.4/qwt/tests/data/vertical.png +0 -0
- PythonQwt-0.10.2/qwt/tests/bodedemo.py → PythonQwt-0.10.4/qwt/tests/test_bodedemo.py +8 -6
- PythonQwt-0.10.2/qwt/tests/cartesian.py → PythonQwt-0.10.4/qwt/tests/test_cartesian.py +8 -3
- PythonQwt-0.10.2/qwt/tests/cpudemo.py → PythonQwt-0.10.4/qwt/tests/test_cpudemo.py +8 -3
- PythonQwt-0.10.2/qwt/tests/curvebenchmark1.py → PythonQwt-0.10.4/qwt/tests/test_curvebenchmark1.py +9 -6
- PythonQwt-0.10.2/qwt/tests/curvebenchmark2.py → PythonQwt-0.10.4/qwt/tests/test_curvebenchmark2.py +8 -4
- PythonQwt-0.10.2/qwt/tests/curvedemo1.py → PythonQwt-0.10.4/qwt/tests/test_curvedemo1.py +8 -3
- PythonQwt-0.10.2/qwt/tests/curvedemo2.py → PythonQwt-0.10.4/qwt/tests/test_curvedemo2.py +8 -3
- PythonQwt-0.10.2/qwt/tests/data.py → PythonQwt-0.10.4/qwt/tests/test_data.py +8 -3
- PythonQwt-0.10.2/qwt/tests/errorbar.py → PythonQwt-0.10.4/qwt/tests/test_errorbar.py +8 -3
- PythonQwt-0.10.2/qwt/tests/eventfilter.py → PythonQwt-0.10.4/qwt/tests/test_eventfilter.py +8 -3
- PythonQwt-0.10.2/qwt/tests/image.py → PythonQwt-0.10.4/qwt/tests/test_image.py +8 -3
- PythonQwt-0.10.2/qwt/tests/loadtest.py → PythonQwt-0.10.4/qwt/tests/test_loadtest.py +8 -4
- PythonQwt-0.10.2/qwt/tests/logcurve.py → PythonQwt-0.10.4/qwt/tests/test_logcurve.py +8 -3
- PythonQwt-0.10.2/qwt/tests/mapdemo.py → PythonQwt-0.10.4/qwt/tests/test_mapdemo.py +8 -3
- PythonQwt-0.10.2/qwt/tests/multidemo.py → PythonQwt-0.10.4/qwt/tests/test_multidemo.py +8 -3
- PythonQwt-0.10.2/qwt/tests/simple.py → PythonQwt-0.10.4/qwt/tests/test_simple.py +8 -3
- PythonQwt-0.10.4/qwt/tests/test_stylesheet.py +28 -0
- PythonQwt-0.10.2/qwt/tests/vertical.py → PythonQwt-0.10.4/qwt/tests/test_vertical.py +8 -3
- PythonQwt-0.10.2/qwt/tests/__init__.py → PythonQwt-0.10.4/qwt/tests/utils.py +59 -93
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/text.py +1 -19
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/setup.py +7 -8
- PythonQwt-0.10.2/.gitignore +0 -73
- PythonQwt-0.10.2/.hgignore +0 -29
- PythonQwt-0.10.2/.hgtags +0 -11
- PythonQwt-0.10.2/.vscode/launch.json +0 -22
- PythonQwt-0.10.2/PythonQwt.egg-info/entry_points.txt +0 -6
- PythonQwt-0.10.2/PythonQwt.egg-info/requires.txt +0 -5
- PythonQwt-0.10.2/doc/images/QwtPlot_example.png +0 -0
- PythonQwt-0.10.2/doc/images/symbol_path_example.png +0 -0
- PythonQwt-0.10.2/doc/index.rst +0 -32
- PythonQwt-0.10.2/doc/requirements.txt +0 -4
- PythonQwt-0.10.2/qwt/tests/data/bodedemo.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/cartesian.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/cpudemo.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/curvebenchmark1.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/curvebenchmark2.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/curvedemo1.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/curvedemo2.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/data.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/errorbar.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/eventfilter.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/image.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/loadtest.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/logcurve.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/mapdemo.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/multidemo.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/simple.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/testlauncher.png +0 -0
- PythonQwt-0.10.2/qwt/tests/data/vertical.png +0 -0
- PythonQwt-0.10.2/scripts/build_and_upload.bat +0 -32
- PythonQwt-0.10.2/scripts/build_dist.bat +0 -18
- PythonQwt-0.10.2/scripts/build_doc.bat +0 -22
- PythonQwt-0.10.2/scripts/clean_up.bat +0 -16
- PythonQwt-0.10.2/scripts/preview_doc.bat +0 -16
- PythonQwt-0.10.2/scripts/run_test_launcher.bat +0 -14
- PythonQwt-0.10.2/scripts/run_test_venv.bat +0 -33
- PythonQwt-0.10.2/scripts/run_unattended_tests.bat +0 -39
- PythonQwt-0.10.2/scripts/take_screenshots.bat +0 -15
- PythonQwt-0.10.2/scripts/utils.bat +0 -58
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/LICENSE +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/PythonQwt.egg-info/dependency_links.txt +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/PythonQwt.egg-info/top_level.txt +0 -0
- {PythonQwt-0.10.2/doc/images → PythonQwt-0.10.4/doc/_static}/panorama.png +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/examples/index.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/overview.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/graphic.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/index.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/interval.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/plot.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/plot_directpainter.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/plot_layout.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/plot_series.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/symbol.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/text.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/toqimage.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/doc/reference/transform.rst +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/color_map.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/column_symbol.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/dyngrid_layout.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/graphic.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/interval.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/legend.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/null_paintdevice.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/painter.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/painter_command.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_curve.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_directpainter.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_grid.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_layout.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/plot_series.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/scale_div.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/scale_draw.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/scale_map.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/scale_widget.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/tests/comparative_benchmarks.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/toqimage.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/qwt/transform.py +0 -0
- {PythonQwt-0.10.2 → PythonQwt-0.10.4}/setup.cfg +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# PythonQwt Releases
|
|
2
2
|
|
|
3
|
+
## Version 0.10.4
|
|
4
|
+
|
|
5
|
+
- [Issue #80](https://github.com/PlotPyStack/PythonQwt/issues/80) - Print to PDF: AttributeError: 'NoneType' object has no attribute 'getContentsMargins'
|
|
6
|
+
|
|
7
|
+
## Version 0.10.3
|
|
8
|
+
|
|
9
|
+
- [Issue #79](https://github.com/PlotPyStack/PythonQwt/issues/79) - TypeError: unexpected type 'QSize' (thanks to @luc-j-bourhis)
|
|
10
|
+
|
|
11
|
+
- Moved project to the [PlotPyStack](https://github.com/PlotPyStack) organization.
|
|
12
|
+
|
|
13
|
+
- Unit tests: added support for ``pytest`` and ``coverage`` (60% coverage as of today)
|
|
14
|
+
|
|
15
|
+
- [Issue #74](https://github.com/PlotPyStack/PythonQwt/issues/74) - TypeError: QwtPlotDict.__init__() [...] with PySide 6.5.0
|
|
16
|
+
|
|
17
|
+
- [Issue #77](https://github.com/PlotPyStack/PythonQwt/issues/77) - AttributeError: 'XXX' object has no attribute '_QwtPlot__data'
|
|
18
|
+
|
|
19
|
+
- [Issue #72](https://github.com/PlotPyStack/PythonQwt/issues/72) - AttributeError: 'QwtScaleWidget' object has no attribute 'maxMajor' / 'maxMinor' / 'stepSize'
|
|
20
|
+
|
|
21
|
+
- [Issue #76](https://github.com/PlotPyStack/PythonQwt/issues/76) - [PySide] AttributeError: 'QwtPlotCanvas' object has no attribute 'Sunken'
|
|
22
|
+
|
|
23
|
+
- [Issue #63](https://github.com/PlotPyStack/PythonQwt/issues/71) - TypeError: 'PySide2.QtCore.QRect' object is not subscriptable
|
|
24
|
+
|
|
3
25
|
## Version 0.10.2
|
|
4
26
|
|
|
5
27
|
- Fixed type mismatch issues on Linux
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PythonQwt
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.4
|
|
4
4
|
Summary: Qt plotting widgets for Python
|
|
5
|
-
Home-page: https://github.com/
|
|
5
|
+
Home-page: https://github.com/PlotPyStack/PythonQwt
|
|
6
6
|
Author: Pierre Raybaut
|
|
7
7
|
Author-email: pierre.raybaut@gmail.com
|
|
8
|
-
License: UNKNOWN
|
|
9
8
|
Platform: Any
|
|
10
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
10
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
|
@@ -18,7 +17,8 @@ Classifier: Operating System :: OS Independent
|
|
|
18
17
|
Classifier: Operating System :: POSIX
|
|
19
18
|
Classifier: Operating System :: Unix
|
|
20
19
|
Classifier: Programming Language :: Python :: 3
|
|
21
|
-
Provides-Extra:
|
|
20
|
+
Provides-Extra: doc
|
|
21
|
+
Provides-Extra: test
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
|
|
24
24
|
PythonQwt: Qt plotting widgets for Python
|
|
@@ -59,11 +59,9 @@ The following example is a good starting point to see how to set up a simple plo
|
|
|
59
59
|
plot.show()
|
|
60
60
|
app.exec_()
|
|
61
61
|
|
|
62
|
-
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/doc/
|
|
62
|
+
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/doc/_static/QwtPlot_example.png
|
|
63
63
|
|
|
64
|
-
.. _README: https://github.com/
|
|
64
|
+
.. _README: https://github.com/PlotPyStack/PythonQwt/blob/master/README.md
|
|
65
65
|
.. _online: https://pythonqwt.readthedocs.io/en/latest/
|
|
66
66
|
.. _PDF: https://pythonqwt.readthedocs.io/_/downloads/en/latest/pdf/
|
|
67
|
-
.. _changelog: https://github.com/
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
.. _changelog: https://github.com/PlotPyStack/PythonQwt/blob/master/CHANGELOG.md
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PythonQwt
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.4
|
|
4
4
|
Summary: Qt plotting widgets for Python
|
|
5
|
-
Home-page: https://github.com/
|
|
5
|
+
Home-page: https://github.com/PlotPyStack/PythonQwt
|
|
6
6
|
Author: Pierre Raybaut
|
|
7
7
|
Author-email: pierre.raybaut@gmail.com
|
|
8
|
-
License: UNKNOWN
|
|
9
8
|
Platform: Any
|
|
10
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
10
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
|
@@ -18,7 +17,8 @@ Classifier: Operating System :: OS Independent
|
|
|
18
17
|
Classifier: Operating System :: POSIX
|
|
19
18
|
Classifier: Operating System :: Unix
|
|
20
19
|
Classifier: Programming Language :: Python :: 3
|
|
21
|
-
Provides-Extra:
|
|
20
|
+
Provides-Extra: doc
|
|
21
|
+
Provides-Extra: test
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
|
|
24
24
|
PythonQwt: Qt plotting widgets for Python
|
|
@@ -59,11 +59,9 @@ The following example is a good starting point to see how to set up a simple plo
|
|
|
59
59
|
plot.show()
|
|
60
60
|
app.exec_()
|
|
61
61
|
|
|
62
|
-
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/doc/
|
|
62
|
+
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/doc/_static/QwtPlot_example.png
|
|
63
63
|
|
|
64
|
-
.. _README: https://github.com/
|
|
64
|
+
.. _README: https://github.com/PlotPyStack/PythonQwt/blob/master/README.md
|
|
65
65
|
.. _online: https://pythonqwt.readthedocs.io/en/latest/
|
|
66
66
|
.. _PDF: https://pythonqwt.readthedocs.io/_/downloads/en/latest/pdf/
|
|
67
|
-
.. _changelog: https://github.com/
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
.. _changelog: https://github.com/PlotPyStack/PythonQwt/blob/master/CHANGELOG.md
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.hgignore
|
|
3
|
-
.hgtags
|
|
4
1
|
CHANGELOG.md
|
|
5
2
|
LICENSE
|
|
6
3
|
MANIFEST.in
|
|
7
4
|
README.md
|
|
8
5
|
setup.py
|
|
9
|
-
.vscode/launch.json
|
|
10
6
|
PythonQwt.egg-info/PKG-INFO
|
|
11
7
|
PythonQwt.egg-info/SOURCES.txt
|
|
12
8
|
PythonQwt.egg-info/dependency_links.txt
|
|
@@ -18,8 +14,11 @@ doc/index.rst
|
|
|
18
14
|
doc/installation.rst
|
|
19
15
|
doc/overview.rst
|
|
20
16
|
doc/plot_example.py
|
|
21
|
-
doc/requirements.txt
|
|
22
17
|
doc/symbol_path_example.py
|
|
18
|
+
doc/_static/PythonQwt_logo.png
|
|
19
|
+
doc/_static/QwtPlot_example.png
|
|
20
|
+
doc/_static/panorama.png
|
|
21
|
+
doc/_static/symbol_path_example.png
|
|
23
22
|
doc/examples/bodedemo.rst
|
|
24
23
|
doc/examples/cartesian.rst
|
|
25
24
|
doc/examples/cpudemo.rst
|
|
@@ -37,9 +36,6 @@ doc/examples/mapdemo.rst
|
|
|
37
36
|
doc/examples/multidemo.rst
|
|
38
37
|
doc/examples/simple.rst
|
|
39
38
|
doc/examples/vertical.rst
|
|
40
|
-
doc/images/QwtPlot_example.png
|
|
41
|
-
doc/images/panorama.png
|
|
42
|
-
doc/images/symbol_path_example.png
|
|
43
39
|
doc/reference/graphic.rst
|
|
44
40
|
doc/reference/index.rst
|
|
45
41
|
doc/reference/interval.rst
|
|
@@ -83,24 +79,28 @@ qwt/text.py
|
|
|
83
79
|
qwt/toqimage.py
|
|
84
80
|
qwt/transform.py
|
|
85
81
|
qwt/tests/__init__.py
|
|
86
|
-
qwt/tests/bodedemo.py
|
|
87
|
-
qwt/tests/cartesian.py
|
|
88
82
|
qwt/tests/comparative_benchmarks.py
|
|
89
|
-
qwt/tests/
|
|
90
|
-
qwt/tests/
|
|
91
|
-
qwt/tests/
|
|
92
|
-
qwt/tests/
|
|
93
|
-
qwt/tests/
|
|
94
|
-
qwt/tests/
|
|
95
|
-
qwt/tests/
|
|
96
|
-
qwt/tests/
|
|
97
|
-
qwt/tests/
|
|
98
|
-
qwt/tests/
|
|
99
|
-
qwt/tests/
|
|
100
|
-
qwt/tests/
|
|
101
|
-
qwt/tests/
|
|
102
|
-
qwt/tests/
|
|
103
|
-
qwt/tests/
|
|
83
|
+
qwt/tests/conftest.py
|
|
84
|
+
qwt/tests/test_bodedemo.py
|
|
85
|
+
qwt/tests/test_cartesian.py
|
|
86
|
+
qwt/tests/test_cpudemo.py
|
|
87
|
+
qwt/tests/test_curvebenchmark1.py
|
|
88
|
+
qwt/tests/test_curvebenchmark2.py
|
|
89
|
+
qwt/tests/test_curvedemo1.py
|
|
90
|
+
qwt/tests/test_curvedemo2.py
|
|
91
|
+
qwt/tests/test_data.py
|
|
92
|
+
qwt/tests/test_errorbar.py
|
|
93
|
+
qwt/tests/test_eventfilter.py
|
|
94
|
+
qwt/tests/test_image.py
|
|
95
|
+
qwt/tests/test_loadtest.py
|
|
96
|
+
qwt/tests/test_logcurve.py
|
|
97
|
+
qwt/tests/test_mapdemo.py
|
|
98
|
+
qwt/tests/test_multidemo.py
|
|
99
|
+
qwt/tests/test_simple.py
|
|
100
|
+
qwt/tests/test_stylesheet.py
|
|
101
|
+
qwt/tests/test_vertical.py
|
|
102
|
+
qwt/tests/utils.py
|
|
103
|
+
qwt/tests/data/PythonQwt.svg
|
|
104
104
|
qwt/tests/data/bodedemo.png
|
|
105
105
|
qwt/tests/data/cartesian.png
|
|
106
106
|
qwt/tests/data/cpudemo.png
|
|
@@ -117,15 +117,6 @@ qwt/tests/data/logcurve.png
|
|
|
117
117
|
qwt/tests/data/mapdemo.png
|
|
118
118
|
qwt/tests/data/multidemo.png
|
|
119
119
|
qwt/tests/data/simple.png
|
|
120
|
+
qwt/tests/data/stylesheet.png
|
|
120
121
|
qwt/tests/data/testlauncher.png
|
|
121
|
-
qwt/tests/data/vertical.png
|
|
122
|
-
scripts/build_and_upload.bat
|
|
123
|
-
scripts/build_dist.bat
|
|
124
|
-
scripts/build_doc.bat
|
|
125
|
-
scripts/clean_up.bat
|
|
126
|
-
scripts/preview_doc.bat
|
|
127
|
-
scripts/run_test_launcher.bat
|
|
128
|
-
scripts/run_test_venv.bat
|
|
129
|
-
scripts/run_unattended_tests.bat
|
|
130
|
-
scripts/take_screenshots.bat
|
|
131
|
-
scripts/utils.bat
|
|
122
|
+
qwt/tests/data/vertical.png
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[](./LICENSE)
|
|
4
4
|
[](https://pypi.org/project/PythonQwt/)
|
|
5
|
-
[](https://github.com/
|
|
5
|
+
[](https://github.com/PlotPyStack/PythonQwt)
|
|
6
6
|
[](https://pypi.python.org/pypi/PythonQwt/)
|
|
7
7
|
[](https://www.anaconda.com/download/)
|
|
8
8
|
[](https://pythonqwt.readthedocs.io/en/latest/?badge=latest)
|
|
9
9
|
|
|
10
|
+
ℹ️ Created in 2014 by Pierre Raybaut and maintained by the [PlotPyStack](https://github.com/PlotPyStack) organization.
|
|
11
|
+
|
|
10
12
|

|
|
11
13
|
|
|
12
14
|
The `PythonQwt` project was initiated to solve -at least temporarily- the
|
|
@@ -44,7 +46,7 @@ plot.show()
|
|
|
44
46
|
app.exec_()
|
|
45
47
|
```
|
|
46
48
|
|
|
47
|
-

|
|
48
50
|
|
|
49
51
|
## Examples (tests)
|
|
50
52
|
|
|
@@ -92,6 +94,11 @@ for more details on API limitations when comparing to Qwt.
|
|
|
92
94
|
- QtPy >= 1.3
|
|
93
95
|
- NumPy >= 1.5
|
|
94
96
|
|
|
97
|
+
### Optional dependencies
|
|
98
|
+
|
|
99
|
+
- coverage, pytest, pytest-qt, pytest-cov (for unit tests)
|
|
100
|
+
- sphinx (for documentation generation)
|
|
101
|
+
|
|
95
102
|
## Installation
|
|
96
103
|
|
|
97
104
|
From the source package:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
# All configuration values have a default; values that are commented out
|
|
9
9
|
# serve to show the default.
|
|
10
10
|
|
|
11
|
-
from __future__ import print_function, unicode_literals
|
|
12
|
-
|
|
13
11
|
import sys
|
|
14
12
|
|
|
15
13
|
# If extensions (or modules to document with autodoc) are in another directory,
|
|
@@ -123,7 +121,7 @@ html_title = "%s %s Manual" % (project, version)
|
|
|
123
121
|
|
|
124
122
|
# The name of an image file (relative to this directory) to place at the top
|
|
125
123
|
# of the sidebar.
|
|
126
|
-
|
|
124
|
+
html_logo = "_static/PythonQwt_logo.png"
|
|
127
125
|
|
|
128
126
|
# The name of an image file (within the static path) to use as favicon of the
|
|
129
127
|
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
@@ -10,6 +10,7 @@ Requirements:
|
|
|
10
10
|
* QtPy >= 1.3
|
|
11
11
|
* NumPy 1.x (x>=5)
|
|
12
12
|
* Sphinx 1.x (x>=1) for documentation generation
|
|
13
|
+
* pytest, pytest-cov, pytest-qt, coverage for unit testing
|
|
13
14
|
|
|
14
15
|
Installation
|
|
15
16
|
------------
|
|
@@ -25,4 +26,4 @@ External resources:
|
|
|
25
26
|
|
|
26
27
|
* Bug reports and feature requests: `GitHub`_
|
|
27
28
|
|
|
28
|
-
.. _GitHub: https://github.com/
|
|
29
|
+
.. _GitHub: https://github.com/PlotPyStack/PythonQwt
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import os.path as osp
|
|
2
|
+
|
|
3
|
+
import numpy as np
|
|
1
4
|
from qtpy import QtWidgets as QW
|
|
5
|
+
|
|
2
6
|
import qwt
|
|
3
|
-
import
|
|
7
|
+
from qwt import qthelpers as qth
|
|
4
8
|
|
|
5
9
|
app = QW.QApplication([])
|
|
6
10
|
x = np.linspace(-10, 10, 500)
|
|
@@ -8,13 +12,4 @@ plot = qwt.QwtPlot("Trigonometric functions")
|
|
|
8
12
|
plot.insertLegend(qwt.QwtLegend(), qwt.QwtPlot.BottomLegend)
|
|
9
13
|
qwt.QwtPlotCurve.make(x, np.cos(x), "Cosinus", plot, linecolor="red", antialiased=True)
|
|
10
14
|
qwt.QwtPlotCurve.make(x, np.sin(x), "Sinus", plot, linecolor="blue", antialiased=True)
|
|
11
|
-
plot.
|
|
12
|
-
plot.show()
|
|
13
|
-
|
|
14
|
-
import os.path as osp
|
|
15
|
-
|
|
16
|
-
plot.grab().save(
|
|
17
|
-
osp.join(osp.abspath(osp.dirname(__file__)), "images", "QwtPlot_example.png")
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
app.exec_()
|
|
15
|
+
qth.take_screenshot(plot, osp.join(osp.abspath(osp.dirname(__file__)), "_static", "QwtPlot_example.png"), size=(600, 300))
|
|
@@ -4,6 +4,7 @@ from qtpy import QtCore as QC
|
|
|
4
4
|
import qwt
|
|
5
5
|
import numpy as np
|
|
6
6
|
import os.path as osp
|
|
7
|
+
from qwt import qthelpers as qth
|
|
7
8
|
|
|
8
9
|
app = QW.QApplication([])
|
|
9
10
|
|
|
@@ -43,12 +44,6 @@ curve.setData(x, np.sin(x))
|
|
|
43
44
|
|
|
44
45
|
plot = qwt.QwtPlot()
|
|
45
46
|
curve.attach(plot)
|
|
46
|
-
plot.resize(600, 300)
|
|
47
47
|
plot.replot()
|
|
48
|
-
plot.show()
|
|
49
48
|
|
|
50
|
-
plot.
|
|
51
|
-
osp.join(osp.abspath(osp.dirname(__file__)), "images", "symbol_path_example.png")
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
app.exec_()
|
|
49
|
+
qth.take_screenshot(plot, osp.join(osp.abspath(osp.dirname(__file__)), "_static", "symbol_path_example.png"), size=(600, 300))
|
|
@@ -24,9 +24,10 @@ External resources:
|
|
|
24
24
|
|
|
25
25
|
.. _PyPI: https://pypi.python.org/pypi/PythonQwt
|
|
26
26
|
.. _GitHubPage: http://pierreraybaut.github.io/PythonQwt
|
|
27
|
-
.. _GitHub: https://github.com/
|
|
27
|
+
.. _GitHub: https://github.com/PlotPyStack/PythonQwt
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
__version__ = "0.10.4"
|
|
30
31
|
QWT_VERSION_STR = "6.1.5"
|
|
31
32
|
|
|
32
33
|
import warnings
|
|
@@ -217,7 +217,7 @@ class AxisData(object):
|
|
|
217
217
|
self.scaleWidget = None # QwtScaleWidget
|
|
218
218
|
|
|
219
219
|
|
|
220
|
-
class QwtPlot(
|
|
220
|
+
class QwtPlot(QwtPlotDict, QFrame):
|
|
221
221
|
"""
|
|
222
222
|
A 2-D plotting widget
|
|
223
223
|
|
|
@@ -249,7 +249,7 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
249
249
|
plot.resize(600, 300)
|
|
250
250
|
plot.show()
|
|
251
251
|
|
|
252
|
-
.. image:: /
|
|
252
|
+
.. image:: /_static/QwtPlot_example.png
|
|
253
253
|
|
|
254
254
|
.. py:class:: QwtPlot([title=""], [parent=None])
|
|
255
255
|
|
|
@@ -361,17 +361,6 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
361
361
|
|
|
362
362
|
qwtEnableLegendItems(self, True)
|
|
363
363
|
|
|
364
|
-
def __del__(self):
|
|
365
|
-
self.setAutoReplot(False)
|
|
366
|
-
# XXX Is is really necessary in Python? (pure transcription of C++)
|
|
367
|
-
# The following line have been commented to avoid crashing Python
|
|
368
|
-
# when exiting interpreter (Python 3 only)
|
|
369
|
-
|
|
370
|
-
# self.detachItems(QwtPlotItem.Rtti_PlotItem, self.autoDelete())
|
|
371
|
-
# self.__data.layout = None
|
|
372
|
-
# self.deleteAxesData()
|
|
373
|
-
# self.__data = None
|
|
374
|
-
|
|
375
364
|
def setFlatStyle(self, state):
|
|
376
365
|
"""
|
|
377
366
|
Set or reset the flatStyle option
|
|
@@ -585,7 +574,7 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
585
574
|
:py:meth:`qwt.scale_engine.QwtScaleEngine.divideScale()`
|
|
586
575
|
"""
|
|
587
576
|
if self.axisValid(axisId):
|
|
588
|
-
return self.
|
|
577
|
+
return self.__axisData[axisId].maxMajor
|
|
589
578
|
else:
|
|
590
579
|
return 0
|
|
591
580
|
|
|
@@ -600,7 +589,7 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
600
589
|
:py:meth:`qwt.scale_engine.QwtScaleEngine.divideScale()`
|
|
601
590
|
"""
|
|
602
591
|
if self.axisValid(axisId):
|
|
603
|
-
return self.
|
|
592
|
+
return self.__axisData[axisId].maxMinor
|
|
604
593
|
else:
|
|
605
594
|
return 0
|
|
606
595
|
|
|
@@ -641,7 +630,7 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
641
630
|
:py:meth:`qwt.scale_engine.QwtScaleEngine.divideScale()`
|
|
642
631
|
"""
|
|
643
632
|
if self.axisValid(axisId):
|
|
644
|
-
return self.
|
|
633
|
+
return self.__axisData[axisId].stepSize
|
|
645
634
|
else:
|
|
646
635
|
return 0
|
|
647
636
|
|
|
@@ -991,8 +980,8 @@ class QwtPlot(QFrame, QwtPlotDict):
|
|
|
991
980
|
# Otherwise, when tick labels are large enough, the ticks
|
|
992
981
|
# may not be aligned with canvas grid.
|
|
993
982
|
# See the following issues for more details:
|
|
994
|
-
# https://github.com/
|
|
995
|
-
# https://github.com/
|
|
983
|
+
# https://github.com/PlotPyStack/guiqwt/issues/57
|
|
984
|
+
# https://github.com/PlotPyStack/PythonQwt/issues/30
|
|
996
985
|
startDist, endDist = scaleWidget.getBorderDistHint()
|
|
997
986
|
scaleWidget.setBorderDist(startDist, endDist)
|
|
998
987
|
|