PythonQwt 0.14.1__py3-none-any.whl → 0.14.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PythonQwt
3
- Version: 0.14.1
3
+ Version: 0.14.2
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,19 +686,19 @@ Classifier: Programming Language :: Python :: 3.13
686
686
  Requires-Python: <4,>=3.9
687
687
  Description-Content-Type: text/markdown
688
688
  License-File: LICENSE
689
- Requires-Dist: NumPy >=1.19
690
- Requires-Dist: QtPy >=1.9
689
+ Requires-Dist: NumPy>=1.19
690
+ Requires-Dist: QtPy>=1.9
691
691
  Provides-Extra: dev
692
- Requires-Dist: ruff ; extra == 'dev'
693
- Requires-Dist: pylint ; extra == 'dev'
694
- Requires-Dist: Coverage ; extra == 'dev'
692
+ Requires-Dist: ruff; extra == "dev"
693
+ Requires-Dist: pylint; extra == "dev"
694
+ Requires-Dist: Coverage; extra == "dev"
695
695
  Provides-Extra: doc
696
- Requires-Dist: PyQt5 ; extra == 'doc'
697
- Requires-Dist: sphinx >6 ; extra == 'doc'
698
- Requires-Dist: python-docs-theme ; extra == 'doc'
696
+ Requires-Dist: PyQt5; extra == "doc"
697
+ Requires-Dist: sphinx>6; extra == "doc"
698
+ Requires-Dist: python-docs-theme; extra == "doc"
699
699
  Provides-Extra: test
700
- Requires-Dist: pytest ; extra == 'test'
701
- Requires-Dist: pytest-xvfb ; extra == 'test'
700
+ Requires-Dist: pytest; extra == "test"
701
+ Requires-Dist: pytest-xvfb; extra == "test"
702
702
 
703
703
  # PythonQwt: Qt plotting widgets for Python
704
704
 
@@ -1,4 +1,4 @@
1
- qwt/__init__.py,sha256=YephcmwfLzXciQxWR2MX5E-Sj7neXhOEke2xnjKFCwI,5917
1
+ qwt/__init__.py,sha256=YvqCbw9nuiozTFWi1h7yp6D92bJ3ps-V1mRpWR6M0p0,5917
2
2
  qwt/_math.py,sha256=fNcPJcaK-ldCCFB20T2N58LEkQ1lwZY1-q5veXXhwl8,1501
3
3
  qwt/color_map.py,sha256=fLRpymqOXtLrhuPrbbCxTvNINbr2GH7pYBG4fZidrcs,11812
4
4
  qwt/column_symbol.py,sha256=0aFyQ05ryTKbaSTctkhtXa0pB_tWG444zlH3991_bt0,5760
@@ -9,7 +9,7 @@ qwt/legend.py,sha256=GBUim67HWgwLat5tOWDpK98fWcFxV-RkxWjoyWd9Gao,31313
9
9
  qwt/null_paintdevice.py,sha256=AAVyQCVgZKyIw7i-J9ElB0_-8KRV9OXDr140TwMxLSs,9144
10
10
  qwt/painter.py,sha256=UGh-MC_9qw3fNF9GJ_1xbcAkVG6hD5op7jg9M2CcIXI,16527
11
11
  qwt/painter_command.py,sha256=b_uZb56YlzYFG3ZmB5ykjkBQQAadQD8epknsQSEai54,6957
12
- qwt/plot.py,sha256=ytiyGbLiBwIPj0kQL3pCq5NkiwP1haeBcfS2Qza0R7o,75803
12
+ qwt/plot.py,sha256=XqQHGpsrnMi0KYxFQ7-kGtFor4ekMllzpcKUtY9Jp18,75834
13
13
  qwt/plot_canvas.py,sha256=eYcXJgVc7MaDk5UzSjhcTmc6ptyQWApeaRKWSoi_jeE,30317
14
14
  qwt/plot_curve.py,sha256=ilb1ts7E-Ql-IE3eigjmb5LwjdCf7LMPBlYuu_cjKPw,37061
15
15
  qwt/plot_directpainter.py,sha256=JCWNhCC21L1A1HZnxd-C95QNlrVJbLztmGab-X8gCGc,10165
@@ -21,7 +21,7 @@ qwt/plot_series.py,sha256=Wa_Wunu-t_L8vl95RJq6__k-XA8UV2YNIsc8yNGpTT8,10654
21
21
  qwt/qthelpers.py,sha256=GpvLr96Ip8SIGwyFfs0f7ocHyKPB7PEjHBQyrpw84xw,1405
22
22
  qwt/scale_div.py,sha256=2Ay5mgduXgSm4OrDMcaEWIzenAiBuEASZRoX99PWEE4,9276
23
23
  qwt/scale_draw.py,sha256=DvknvoOpEerVqplH-fbEtXQlXrFebUGz-1eS5qJdDWI,36760
24
- qwt/scale_engine.py,sha256=h5GiwVAphx75DXzm9LCzjHoxz7INGSOYT97sjtGLcd8,29044
24
+ qwt/scale_engine.py,sha256=qE6ka3o1JnMh975o9GajUcvTNi7K7WOTe0pYJ40F91s,29080
25
25
  qwt/scale_map.py,sha256=WobkNna6_RPXYZjGK7gZLykNxN_kYnrcB6fEaWgnL2w,9182
26
26
  qwt/scale_widget.py,sha256=p202DrRgMraGbVcubzkatvVXOLbO9CPho729hz6gqa0,27125
27
27
  qwt/symbol.py,sha256=DYMMelQkP7vr8WGo3EFM72CzcWpZEHEYohlLXZEtCsI,39170
@@ -75,9 +75,9 @@ qwt/tests/data/symbol.svg,sha256=ONkkohVqpg3OO2-XEZge7UZLqqNyOQXbSpLgHXcTBFU,127
75
75
  qwt/tests/data/symbols.png,sha256=wiqRBc2MJluJ-am9LtZ0K9DHV9BnreYMiEvfzJUFzCk,55586
76
76
  qwt/tests/data/testlauncher.png,sha256=WmucObp30QYYKsVRBs5-6t1aEN0FbIWRmOVFN1gt-vQ,139676
77
77
  qwt/tests/data/vertical.png,sha256=EvyG6q6rZm6pTT08Y_nzdBYCnqmoX1QDuEQtp2pyGlw,34076
78
- PythonQwt-0.14.1.dist-info/LICENSE,sha256=qjEk8TRuXmFS7QC-omINvD1UPGqWaOs6CzcCZoMEhdI,33457
79
- PythonQwt-0.14.1.dist-info/METADATA,sha256=eZtrs-8yfxk4ooLWdQ9ZIYjdxTeCX2JUYKWLk4gMYOQ,45064
80
- PythonQwt-0.14.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
81
- PythonQwt-0.14.1.dist-info/entry_points.txt,sha256=pdPda-YcYigCi00hR4tMxWKu6byxM2x3zA8BQFDYvwI,46
82
- PythonQwt-0.14.1.dist-info/top_level.txt,sha256=KB1IBdWRWnaItyJMaECwZiEi1jWt3IvqCrRVVhMjTu8,4
83
- PythonQwt-0.14.1.dist-info/RECORD,,
78
+ PythonQwt-0.14.2.dist-info/LICENSE,sha256=qjEk8TRuXmFS7QC-omINvD1UPGqWaOs6CzcCZoMEhdI,33457
79
+ PythonQwt-0.14.2.dist-info/METADATA,sha256=3APkiCdDzEo4WSjgOs216rYfcBkdeLgQgN4KmY4A9FA,45053
80
+ PythonQwt-0.14.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
81
+ PythonQwt-0.14.2.dist-info/entry_points.txt,sha256=pdPda-YcYigCi00hR4tMxWKu6byxM2x3zA8BQFDYvwI,46
82
+ PythonQwt-0.14.2.dist-info/top_level.txt,sha256=KB1IBdWRWnaItyJMaECwZiEi1jWt3IvqCrRVVhMjTu8,4
83
+ PythonQwt-0.14.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
qwt/__init__.py CHANGED
@@ -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.14.1"
58
+ __version__ = "0.14.2"
59
59
  QWT_VERSION_STR = "6.1.5"
60
60
 
61
61
 
qwt/plot.py CHANGED
@@ -954,7 +954,7 @@ class QwtPlot(QFrame):
954
954
  d.isValid = False
955
955
  minValue = intv_i.minValue()
956
956
  maxValue = intv_i.maxValue()
957
- d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
957
+ minValue, maxValue, stepSize = d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
958
958
  if not d.isValid:
959
959
  d.scaleDiv = d.scaleEngine.divideScale(
960
960
  minValue, maxValue, d.maxMajor, d.maxMinor, stepSize
qwt/scale_engine.py CHANGED
@@ -674,10 +674,9 @@ class QwtLogScaleEngine(QwtScaleEngine):
674
674
  linearInterval = linearInterval.limited(LOG_MIN, LOG_MAX)
675
675
 
676
676
  if linearInterval.maxValue() / linearInterval.minValue() < logBase:
677
- if stepSize < 0.0:
678
- stepSize = -math.log(abs(stepSize), logBase)
679
- else:
680
- stepSize = math.log(stepSize, logBase)
677
+ # The min / max interval is too short to be represented as a log scale.
678
+ # Set the step to 0, so that a new step is calculated and a linear scale is used.
679
+ stepSize = 0.0
681
680
  return x1, x2, stepSize
682
681
 
683
682
  logRef = 1.0