Skip to content

Commit c9faeb3

Browse files
committed
Fixed Issue #28: curve shading was broken since v0.5.0
This bug was introduced by commit 2d80fda.
1 parent d478a8d commit c9faeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qwt/plot_series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
class QwtPlotSeriesItem_PrivateData(QwtPlotItem_PrivateData):
4646
def __init__(self):
4747
QwtPlotItem_PrivateData.__init__(self)
48-
self.orientation = Qt.Vertical
48+
self.orientation = Qt.Horizontal
4949

5050

5151
class QwtPlotSeriesItem(QwtPlotItem):
@@ -60,7 +60,7 @@ def __init__(self, title):
6060

6161
def setOrientation(self, orientation):
6262
"""
63-
Set the orientation of the item.
63+
Set the orientation of the item. Default is `Qt.Horizontal`.
6464
6565
The `orientation()` might be used in specific way by a plot item.
6666
F.e. a QwtPlotCurve uses it to identify how to display the curve

0 commit comments

Comments
 (0)