Skip to content

Commit

Permalink
Fix QwtPlot.axisInterval (was raising AttributeError)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Jun 5, 2024
1 parent 1dbe6e9 commit f68796c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qwt/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def axisInterval(self, axisId):
:py:meth:`axisScaleDiv()`
"""
if self.axisValid(axisId):
return self.axisWidget(axisId).scaleDiv.interval()
return self.axisScaleDiv(axisId).interval()
else:
return QwtInterval()

Expand Down

0 comments on commit f68796c

Please sign in to comment.