Skip to content

Commit b1259d8

Browse files
author
Pierre Raybaut
committed
QwtPlotLayout/bugfix: yRight axis was not scaled properly (null width = invisible)
1 parent bee52d9 commit b1259d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qwt/qwt_plot_layout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ def activate(self, plot, plotRect, options=0x00):
659659
scaleRect.setWidth(dim)
660660
elif axis == QwtPlot.yRight:
661661
scaleRect.setX(self.__data.canvasRect.right())
662+
scaleRect.setWidth(dim)
662663
elif axis == QwtPlot.xBottom:
663664
scaleRect.setY(self.__data.canvasRect.bottom())
664665
scaleRect.setHeight(dim)

0 commit comments

Comments
 (0)