Skip to content

Commit 80a5d9d

Browse files
committed
Major API simplification (continued)
1 parent 87e1f90 commit 80a5d9d

24 files changed

+1151
-1460
lines changed

doc/reference/index.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ Private API:
1919

2020
graphic
2121
interval
22-
legend_data
23-
legend_label
2422
plot_directpainter
2523
plot_layout
26-
plot_seriesitem
27-
series_data
28-
series_store
24+
plot_series
2925
transform

doc/reference/legend_data.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/reference/legend_label.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/reference/plot_series.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.. automodule:: qwt.plot_series
2+
:members:

doc/reference/plot_seriesitem.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/reference/series_data.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/reference/series_store.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/reference/text.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ Text
33

44
.. automodule:: qwt.text
55
:members:
6-
7-
.. automodule:: qwt.text_engine
8-
:members:

qwt/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
.. _GitHub: https://github.com/PierreRaybaut/PythonQwt
2323
"""
24-
__version__ = '0.4.0'
24+
__version__ = '0.5.0'
2525
QWT_VERSION_STR = '6.1.2'
2626

2727
import warnings
@@ -35,7 +35,7 @@
3535
from qwt.plot_curve import QwtPlotItem
3636
from qwt.scale_map import QwtScaleMap
3737
from qwt.interval import QwtInterval
38-
from qwt.legend import QwtLegend
38+
from qwt.legend import QwtLegend, QwtLegendData, QwtLegendLabel
3939
from qwt.plot_marker import QwtPlotMarker
4040
from qwt.plot_grid import QwtPlotGrid as QPG # see deprecated section
4141
from qwt.color_map import QwtLinearColorMap
@@ -46,9 +46,9 @@
4646
from qwt.scale_draw import QwtScaleDraw
4747
from qwt.scale_draw import QwtAbstractScaleDraw
4848
from qwt.painter import QwtPainter
49-
from qwt.legend_data import QwtLegendData
5049

51-
from qwt.series_data import QwtPointArrayData
50+
from qwt.plot_series import (QwtSeriesData, QwtPointArrayData, QwtSeriesStore,
51+
QwtPlotSeriesItem)
5252

5353
from qwt.plot_renderer import QwtPlotRenderer
5454

qwt/column_symbol.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# (see LICENSE file for more details)
77

88
from qwt.interval import QwtInterval
9-
from qwt.painter import QwtPainter
109

1110
from qwt.qt.QtGui import QPolygonF, QPalette
1211
from qwt.qt.QtCore import QRectF, Qt

0 commit comments

Comments
 (0)