Skip to content

Commit

Permalink
Merge pull request #89 from nicoddemus/patch-1
Browse files Browse the repository at this point in the history
Fix call to ScaleEngine.autoScale
  • Loading branch information
PierreRaybaut authored Dec 10, 2024
2 parents 9022b5a + 01a049a commit 835d122
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 @@ -954,7 +954,7 @@ def updateAxes(self):
d.isValid = False
minValue = intv_i.minValue()
maxValue = intv_i.maxValue()
d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
minValue, maxValue, stepSize = d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
if not d.isValid:
d.scaleDiv = d.scaleEngine.divideScale(
minValue, maxValue, d.maxMajor, d.maxMinor, stepSize
Expand Down

0 comments on commit 835d122

Please sign in to comment.