Skip to content

Commit f68796c

Browse files
committed
Fix QwtPlot.axisInterval (was raising AttributeError)
1 parent 1dbe6e9 commit f68796c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwt/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def axisInterval(self, axisId):
610610
:py:meth:`axisScaleDiv()`
611611
"""
612612
if self.axisValid(axisId):
613-
return self.axisWidget(axisId).scaleDiv.interval()
613+
return self.axisScaleDiv(axisId).interval()
614614
else:
615615
return QwtInterval()
616616

0 commit comments

Comments
 (0)