Skip to content

Commit 2641a1a

Browse files
committed
More code cleaning for CHANGELOG/README
1 parent ffc26d3 commit 2641a1a

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

CHANGELOG.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22

33
## Version 0.8.3
44

5-
- Fixed simple plot examples (setup.py & plot.py's doc page) following the introduction
5+
- Fixed simple plot examples (setup.py & plot.py's doc page) following the introduction
66
of the new QtPy dependency (Qt compatibility layer) since V0.8.0.
77

88
## Version 0.8.2
99

1010
- Added new GUI-based test script `PythonQwt-py3` to run the test launcher.
11-
- Added command-line options to the `PythonQwt-tests-py3` script to run all the tests
12-
simultenously in unattended mode (`--mode unattended`) or to update all the
11+
- Added command-line options to the `PythonQwt-tests-py3` script to run all the tests
12+
simultenously in unattended mode (`--mode unattended`) or to update all the
1313
screenshots (`--mode screenshots`).
14-
- Added internal scripts for automated test in virtual environments with both PyQt5 and
14+
- Added internal scripts for automated test in virtual environments with both PyQt5 and
1515
PySide2.
1616

1717
## Version 0.8.1
1818

19-
- PySide2 support was significatively improved betwen PythonQwt V0.8.0 and
19+
- PySide2 support was significatively improved betwen PythonQwt V0.8.0 and
2020
V0.8.1 thanks to the new `qwt.qwt_curve.array2d_to_qpolygonf` function.
2121

2222
## Version 0.8.0
2323

24-
- Added PySide2 support: PythonQwt is now compatible with Python 2.7, Python 3.4+,
24+
- Added PySide2 support: PythonQwt is now compatible with Python 2.7, Python 3.4+,
2525
PyQt4, PyQt5 and PySide2!
2626

2727
## Version 0.7.1
2828

29-
- Changed QwtPlotItem.detachItems signature: removed unnecessary "autoDelete" argument,
29+
- Changed QwtPlotItem.detachItems signature: removed unnecessary "autoDelete" argument,
3030
initialiazing "rtti" argument to None (remove all items)
3131
- Improved Qt universal support (PyQt5, ...)
3232

@@ -43,11 +43,11 @@
4343
- Added new test launcher with screenshots (automatically generated)
4444
- Removed `guidata` dependency thanks to the new specific GUI-based test launcher
4545
- Updated documentation (added more examples, using automatically generated screenshots)
46-
- QwtPlot: added "flatStyle" option, a PythonQwt-exclusive feature improving
47-
default plot style (without margin, more compact and flat look) -- option is
46+
- QwtPlot: added "flatStyle" option, a PythonQwt-exclusive feature improving
47+
default plot style (without margin, more compact and flat look) -- option is
4848
enabled by default
49-
- QwtAbstractScaleDraw: added option to set the tick color lighter factor for
50-
each tick type (minor, medium, major) -- this feature is used with the new
49+
- QwtAbstractScaleDraw: added option to set the tick color lighter factor for
50+
each tick type (minor, medium, major) -- this feature is used with the new
5151
flatStyle option
5252
- Fixed obvious errors (+ poor implementations) in untested code parts
5353
- Major code cleaning and formatting
@@ -70,7 +70,7 @@
7070

7171
## Version 0.6.1
7272

73-
- Fixed rounding issue with PythonQwt scale engine (0...1000 is now divided
73+
- Fixed rounding issue with PythonQwt scale engine (0...1000 is now divided
7474
in 200-size steps, as in both Qwt and PyQwt)
7575
- Removed unnecessary mask on scaleWidget (this closes #35)
7676
- CurveBenchmark.py: fixed TypeError with numpy.linspace (NumPy=1.18)
@@ -93,17 +93,17 @@
9393

9494
## Version 0.5.4
9595

96-
Fixed an annoying bug which caused scale widget (axis ticks in particular)
97-
to be misaligned with canvas grid: the user was forced to resize the plot
96+
Fixed an annoying bug which caused scale widget (axis ticks in particular)
97+
to be misaligned with canvas grid: the user was forced to resize the plot
9898
widget as a workaround
9999

100100
## Version 0.5.3
101101

102-
- Better handling of infinity and `NaN` values in scales (removed `NumPy`
102+
- Better handling of infinity and `NaN` values in scales (removed `NumPy`
103103
warnings)
104-
- Now handling infinity and `NaN` values in series data: removing points that
104+
- Now handling infinity and `NaN` values in series data: removing points that
105105
can't be drawn
106-
- Fixed logarithmic scale engine: presence of values <= 0 was slowing down
106+
- Fixed logarithmic scale engine: presence of values <= 0 was slowing down
107107
series data plotting
108108

109109
## Version 0.5.2
@@ -115,22 +115,22 @@ series data plotting
115115

116116
## Version 0.5.1
117117

118-
- Fixed Issue #22: fixed scale issues in [CurveDemo2.py](qwt/tests/CurveDemo2.py)
118+
- Fixed Issue #22: fixed scale issues in [CurveDemo2.py](qwt/tests/CurveDemo2.py)
119119
and [ImagePlotDemo.py](qwt/tests/ImagePlotDemo.py)
120120
- `QwtPlotCurve`: sticks were not drawn correctly depending on orientation
121121
- `QwtInterval`: avoid overflows with `NumPy` scalars
122122
- Fixed Issue #28: curve shading was broken since v0.5.0
123123
- setup.py: using setuptools "entry_points" instead of distutils "scripts"
124-
- Showing curves/plots number in benchmarks to avoid any misinterpretation
124+
- Showing curves/plots number in benchmarks to avoid any misinterpretation
125125
(see Issue #26)
126126
- Added Python2/Python3 scripts for running tests
127127

128128
## Version 0.5.0
129129

130130
- Various optimizations
131-
- Major API simplification, taking into account the feature that won't be
131+
- Major API simplification, taking into account the feature that won't be
132132
implemented (fitting, rounding, weeding out points, clipping, etc.)
133-
- Added `QwtScaleDraw.setLabelAutoSize`/`labelAutoSize` methods to set the new
133+
- Added `QwtScaleDraw.setLabelAutoSize`/`labelAutoSize` methods to set the new
134134
auto size option (see [documentation](http://pythonhosted.org/PythonQwt/))
135135

136136
## Version 0.4.0
@@ -145,18 +145,18 @@ Renamed the project (python-qwt --> PythonQwt), for various reasons.
145145

146146
## Version 0.2.1
147147

148-
Fixed Issue #23: "argument numPoints is not implemented" error was showing
148+
Fixed Issue #23: "argument numPoints is not implemented" error was showing
149149
up when calling `QwtSymbol.drawSymbol(symbol, QPoint(x, y))`.
150150

151151
## Version 0.2.0
152152

153-
Added docstrings in all Python modules and a complete documentation based on
153+
Added docstrings in all Python modules and a complete documentation based on
154154
Sphinx. See the Overview section for API limitations when comparing to Qwt.
155155

156156
## Version 0.1.1
157157

158-
Fixed Issue #21 (blocking issue *only* on non-Windows platforms when
159-
building the package): typo in "PythonQwt-tests" script name
158+
Fixed Issue #21 (blocking issue *only* on non-Windows platforms when
159+
building the package): typo in "PythonQwt-tests" script name
160160
(in [setup script](setup.py))
161161

162162
## Version 0.1.0

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ PythonQwt-tests-py3 --mode unattended
6969

7070
## Overview
7171

72-
The `qwt` package is a pure Python implementation of `Qwt` C++ library with
72+
The `qwt` package is a pure Python implementation of `Qwt` C++ library with
7373
the following limitations.
7474

7575
The following `Qwt` classes won't be reimplemented in `qwt` because more
76-
powerful features already exist in `guiqwt`: `QwtPlotZoomer`,
76+
powerful features already exist in `guiqwt`: `QwtPlotZoomer`,
7777
`QwtCounter`, `QwtEventPattern`, `QwtPicker`, `QwtPlotPicker`.
7878

79-
Only the following plot items are currently implemented in `qwt` (the only
80-
plot items needed by `guiqwt`): `QwtPlotItem` (base class), `QwtPlotItem`,
79+
Only the following plot items are currently implemented in `qwt` (the only
80+
plot items needed by `guiqwt`): `QwtPlotItem` (base class), `QwtPlotItem`,
8181
`QwtPlotMarker`, `QwtPlotSeriesItem` and `QwtPlotCurve`.
8282

83-
See "Overview" section in [documentation](https://pythonqwt.readthedocs.io/en/latest/)
83+
See "Overview" section in [documentation](https://pythonqwt.readthedocs.io/en/latest/)
8484
for more details on API limitations when comparing to Qwt.
8585

8686
## Dependencies
@@ -96,23 +96,23 @@ for more details on API limitations when comparing to Qwt.
9696

9797
![PyQt5 vs PySide2](doc/images/pyqt5_vs_pyside2.png)
9898

99-
Try running the `curvebenchmark1.py` test with PyQt5 and PySide: you will notice a
100-
huge performance issue with PySide2 (see screenshot above). This is due to the fact
101-
that `QPainter.drawPolyline` is much more efficient in PyQt5 than it is in PySide2
99+
Try running the `curvebenchmark1.py` test with PyQt5 and PySide: you will notice a
100+
huge performance issue with PySide2 (see screenshot above). This is due to the fact
101+
that `QPainter.drawPolyline` is much more efficient in PyQt5 than it is in PySide2
102102
(see [this bug report](https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1366)).
103103

104-
As a consequence, until this bug is fixed in PySide2, we still recommend using PyQt5
104+
As a consequence, until this bug is fixed in PySide2, we still recommend using PyQt5
105105
instead of PySide2 when it comes to representing huge data sets.
106106

107-
However, PySide2 support was significatively improved betwen PythonQwt V0.8.0 and
108-
V0.8.1 thanks to the new `array2d_to_qpolygonf` function (see the part related to
107+
However, PySide2 support was significatively improved betwen PythonQwt V0.8.0 and
108+
V0.8.1 thanks to the new `array2d_to_qpolygonf` function (see the part related to
109109
PySide2 in the code below).
110110

111111
```python
112112
def array2d_to_qpolygonf(xdata, ydata):
113113
"""
114-
Utility function to convert two 1D-NumPy arrays representing curve data
115-
(X-axis, Y-axis data) into a single polyline (QtGui.PolygonF object).
114+
Utility function to convert two 1D-NumPy arrays representing curve data
115+
(X-axis, Y-axis data) into a single polyline (QtGui.PolygonF object).
116116
This feature is compatible with PyQt4, PyQt5 and PySide2 (requires QtPy).
117117
118118
License/copyright: MIT License © Pierre Raybaut 2020.
@@ -155,9 +155,9 @@ python setup.py install
155155
### Main code base
156156

157157
- Copyright © 2002 Uwe Rathmann, for the original Qwt C++ code
158-
- Copyright © 2015 Pierre Raybaut, for the Qwt C++ to Python translation and
158+
- Copyright © 2015 Pierre Raybaut, for the Qwt C++ to Python translation and
159159
optimization
160-
- Copyright © 2015 Pierre Raybaut, for the PythonQwt specific and exclusive
160+
- Copyright © 2015 Pierre Raybaut, for the PythonQwt specific and exclusive
161161
Python material
162162

163163
### PyQt, PySide and Python2/Python3 compatibility modules
@@ -168,14 +168,14 @@ Python material
168168
### Some examples
169169

170170
- Copyright © 2003-2009 Gerard Vermeulen, for the original PyQwt code
171-
- Copyright © 2015 Pierre Raybaut, for the PyQt5/PySide port and further
171+
- Copyright © 2015 Pierre Raybaut, for the PyQt5/PySide port and further
172172
developments (e.g. ported to PythonQwt API)
173173

174174
## License
175175

176-
The `qwt` Python package was partly (>95%) translated from Qwt C++ library:
177-
the associated code is distributed under the terms of the LGPL license. The
178-
rest of the code was either wrote from scratch or strongly inspired from MIT
176+
The `qwt` Python package was partly (>95%) translated from Qwt C++ library:
177+
the associated code is distributed under the terms of the LGPL license. The
178+
rest of the code was either wrote from scratch or strongly inspired from MIT
179179
licensed third-party software.
180180

181181
See included [LICENSE](LICENSE) file for more details about licensing terms.

0 commit comments

Comments
 (0)