PythonQwt 0.10.3__py2.py3-none-any.whl → 0.10.4__py2.py3-none-any.whl
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.3.dist-info → PythonQwt-0.10.4.dist-info}/METADATA +74 -77
- {PythonQwt-0.10.3.dist-info → PythonQwt-0.10.4.dist-info}/RECORD +8 -8
- {PythonQwt-0.10.3.dist-info → PythonQwt-0.10.4.dist-info}/WHEEL +1 -1
- PythonQwt-0.10.4.dist-info/entry_points.txt +5 -0
- qwt/__init__.py +1 -1
- qwt/plot_renderer.py +1 -1
- PythonQwt-0.10.3.dist-info/entry_points.txt +0 -6
- {PythonQwt-0.10.3.dist-info → PythonQwt-0.10.4.dist-info}/LICENSE +0 -0
- {PythonQwt-0.10.3.dist-info → PythonQwt-0.10.4.dist-info}/top_level.txt +0 -0
|
@@ -1,77 +1,74 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: PythonQwt
|
|
3
|
-
Version: 0.10.
|
|
4
|
-
Summary: Qt plotting widgets for Python
|
|
5
|
-
Home-page: https://github.com/PlotPyStack/PythonQwt
|
|
6
|
-
Author: Pierre Raybaut
|
|
7
|
-
Author-email: pierre.raybaut@gmail.com
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Classifier:
|
|
11
|
-
Classifier: License :: OSI Approved ::
|
|
12
|
-
Classifier:
|
|
13
|
-
Classifier: Topic ::
|
|
14
|
-
Classifier:
|
|
15
|
-
Classifier: Operating System ::
|
|
16
|
-
Classifier: Operating System ::
|
|
17
|
-
Classifier: Operating System ::
|
|
18
|
-
Classifier: Operating System ::
|
|
19
|
-
Classifier:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Requires-Dist:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist: pytest ; extra == 'test'
|
|
29
|
-
Requires-Dist: pytest-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
import
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
plot
|
|
63
|
-
|
|
64
|
-
qwt.QwtPlotCurve.make(x, np.
|
|
65
|
-
|
|
66
|
-
plot.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
..
|
|
73
|
-
..
|
|
74
|
-
..
|
|
75
|
-
.. _changelog: https://github.com/PlotPyStack/PythonQwt/blob/master/CHANGELOG.md
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: PythonQwt
|
|
3
|
+
Version: 0.10.4
|
|
4
|
+
Summary: Qt plotting widgets for Python
|
|
5
|
+
Home-page: https://github.com/PlotPyStack/PythonQwt
|
|
6
|
+
Author: Pierre Raybaut
|
|
7
|
+
Author-email: pierre.raybaut@gmail.com
|
|
8
|
+
Platform: Any
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
13
|
+
Classifier: Topic :: Software Development :: Widget Sets
|
|
14
|
+
Classifier: Operating System :: MacOS
|
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Operating System :: Unix
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Requires-Dist: NumPy (>=1.5)
|
|
22
|
+
Requires-Dist: QtPy (>=1.3)
|
|
23
|
+
Provides-Extra: doc
|
|
24
|
+
Requires-Dist: Sphinx (>=1.1) ; extra == 'doc'
|
|
25
|
+
Provides-Extra: test
|
|
26
|
+
Requires-Dist: coverage ; extra == 'test'
|
|
27
|
+
Requires-Dist: pytest ; extra == 'test'
|
|
28
|
+
Requires-Dist: pytest-qt ; extra == 'test'
|
|
29
|
+
Requires-Dist: pytest-cov ; extra == 'test'
|
|
30
|
+
|
|
31
|
+
PythonQwt: Qt plotting widgets for Python
|
|
32
|
+
=========================================
|
|
33
|
+
|
|
34
|
+
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/qwt/tests/data/testlauncher.png
|
|
35
|
+
|
|
36
|
+
The ``PythonQwt`` package is a 2D-data plotting library using Qt graphical
|
|
37
|
+
user interfaces for the Python programming language. It is compatible with
|
|
38
|
+
``PyQt4``, ``PyQt5``, ``PyQt6`` and ``PySide6``.
|
|
39
|
+
|
|
40
|
+
The ``PythonQwt`` project was initiated to solve -at least temporarily- the
|
|
41
|
+
obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library) which is
|
|
42
|
+
no longer maintained. The idea was to translate the original Qwt C++ code to
|
|
43
|
+
Python and then to optimize some parts of the code by writing new modules
|
|
44
|
+
based on NumPy and other libraries.
|
|
45
|
+
|
|
46
|
+
The ``PythonQwt`` package consists of a single Python package named `qwt`
|
|
47
|
+
which is a pure Python implementation of Qwt C++ library with some
|
|
48
|
+
limitations: efforts were concentrated on basic plotting features, leaving
|
|
49
|
+
higher level features to the `guiqwt` library.
|
|
50
|
+
|
|
51
|
+
See `README`_ and documentation (`online`_ or `PDF`_) for more details on the library and `changelog`_ for recent history of changes.
|
|
52
|
+
|
|
53
|
+
The following example is a good starting point to see how to set up a simple plot widget::
|
|
54
|
+
|
|
55
|
+
from qtpy import QtWidgets as QW
|
|
56
|
+
import qwt
|
|
57
|
+
import numpy as np
|
|
58
|
+
|
|
59
|
+
app = QW.QApplication([])
|
|
60
|
+
x = np.linspace(-10, 10, 500)
|
|
61
|
+
plot = qwt.QwtPlot("Trigonometric functions")
|
|
62
|
+
plot.insertLegend(qwt.QwtLegend(), qwt.QwtPlot.BottomLegend)
|
|
63
|
+
qwt.QwtPlotCurve.make(x, np.cos(x), "Cosinus", plot, linecolor="red", antialiased=True)
|
|
64
|
+
qwt.QwtPlotCurve.make(x, np.sin(x), "Sinus", plot, linecolor="blue", antialiased=True)
|
|
65
|
+
plot.resize(600, 300)
|
|
66
|
+
plot.show()
|
|
67
|
+
app.exec_()
|
|
68
|
+
|
|
69
|
+
.. image:: https://raw.githubusercontent.com/PierreRaybaut/PythonQwt/master/doc/_static/QwtPlot_example.png
|
|
70
|
+
|
|
71
|
+
.. _README: https://github.com/PlotPyStack/PythonQwt/blob/master/README.md
|
|
72
|
+
.. _online: https://pythonqwt.readthedocs.io/en/latest/
|
|
73
|
+
.. _PDF: https://pythonqwt.readthedocs.io/_/downloads/en/latest/pdf/
|
|
74
|
+
.. _changelog: https://github.com/PlotPyStack/PythonQwt/blob/master/CHANGELOG.md
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
qwt/__init__.py,sha256=
|
|
1
|
+
qwt/__init__.py,sha256=KtaS7yoAuV0dieZcZhp7CxEUCiTsTUoJpFP1-t4I474,5800
|
|
2
2
|
qwt/_math.py,sha256=Xut9qwwwnzykC5YV2H3h9F4W9z8jv61ckPtMt941hVQ,1584
|
|
3
3
|
qwt/color_map.py,sha256=LkeEyZcZ60rfceZ-G6YwuY6ljjBoDfYr9NDJtX_hqGE,11824
|
|
4
4
|
qwt/column_symbol.py,sha256=gY57VFgmLo0JwT-7AK7ITli61WzUAdQptQTcYHQbUdo,5720
|
|
@@ -16,7 +16,7 @@ qwt/plot_directpainter.py,sha256=TrgiFLdHu2DH-V_aOfH4DQawTaZUaS3EZxTQ-eWRyJc,105
|
|
|
16
16
|
qwt/plot_grid.py,sha256=w4bJhR5VDvoXF0dwjcejYIF6t5nZz7vG1Jdq5g3h_1c,16563
|
|
17
17
|
qwt/plot_layout.py,sha256=FhQVYDtvsuvJJqhUAcBbGUt4uUBQZ_N7UrZEvJUrzjk,45829
|
|
18
18
|
qwt/plot_marker.py,sha256=ADrdoYaaRqTiyHt3ypAX_9CQvRPyE6GV3Vrm-6K2m88,21272
|
|
19
|
-
qwt/plot_renderer.py,sha256=
|
|
19
|
+
qwt/plot_renderer.py,sha256=Tf5aHc3mCs7YlClBEsyXozoMAMenxtt24MHJ7gOUklQ,26663
|
|
20
20
|
qwt/plot_series.py,sha256=H-fUfw-0Edfrn8PIpaRQ1T1yqrHMuMDcNJffrM61aHE,11043
|
|
21
21
|
qwt/qthelpers.py,sha256=koM5xFt2WQCG4JZyu96AdSB4END_CoFn4ivd1rVXcnU,1585
|
|
22
22
|
qwt/scale_div.py,sha256=pZmsg-PIof3yAeLTfiFMC3tMvNSSMHomkYWnAe3eEjw,9276
|
|
@@ -70,9 +70,9 @@ qwt/tests/data/simple.png,sha256=78MdmZfA4F4tyjnvEw0jWD5wh5OEK1LjUb_Mxo7QHok,157
|
|
|
70
70
|
qwt/tests/data/stylesheet.png,sha256=ZjWURAS_eYB5cyLmkQrUg7bTSv-V3uIm6q8FGQjGnFc,13160
|
|
71
71
|
qwt/tests/data/testlauncher.png,sha256=lb6rUnlpY1Q-rezdG6gAtWMWwY5PX58Zuq6338bI8kY,110858
|
|
72
72
|
qwt/tests/data/vertical.png,sha256=EvyG6q6rZm6pTT08Y_nzdBYCnqmoX1QDuEQtp2pyGlw,34076
|
|
73
|
-
PythonQwt-0.10.
|
|
74
|
-
PythonQwt-0.10.
|
|
75
|
-
PythonQwt-0.10.
|
|
76
|
-
PythonQwt-0.10.
|
|
77
|
-
PythonQwt-0.10.
|
|
78
|
-
PythonQwt-0.10.
|
|
73
|
+
PythonQwt-0.10.4.dist-info/LICENSE,sha256=qjEk8TRuXmFS7QC-omINvD1UPGqWaOs6CzcCZoMEhdI,33457
|
|
74
|
+
PythonQwt-0.10.4.dist-info/METADATA,sha256=UF-RXk3Z0zncgGNjCOtluEU6ZXXeKen7oHyNAYGJfnI,3317
|
|
75
|
+
PythonQwt-0.10.4.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
|
|
76
|
+
PythonQwt-0.10.4.dist-info/entry_points.txt,sha256=wSH-OHXrA7c0ymhYRcBFLhBsMqOiw9gofXVe_5UIBYA,107
|
|
77
|
+
PythonQwt-0.10.4.dist-info/top_level.txt,sha256=KB1IBdWRWnaItyJMaECwZiEi1jWt3IvqCrRVVhMjTu8,4
|
|
78
|
+
PythonQwt-0.10.4.dist-info/RECORD,,
|
qwt/__init__.py
CHANGED
qwt/plot_renderer.py
CHANGED
|
@@ -356,7 +356,7 @@ class QwtPlotRenderer(QObject):
|
|
|
356
356
|
invtrans, _ok = transform.inverted()
|
|
357
357
|
layoutRect = invtrans.mapRect(plotRect)
|
|
358
358
|
if not (self.__data.discardFlags & self.DiscardBackground):
|
|
359
|
-
left, top, right, bottom = plot.
|
|
359
|
+
left, top, right, bottom = plot.getContentsMargins()
|
|
360
360
|
layoutRect.adjust(left, top, -right, -bottom)
|
|
361
361
|
|
|
362
362
|
layout = plot.plotLayout()
|
|
File without changes
|
|
File without changes
|