Skip to content

Commit 835d122

Browse files
Merge pull request #89 from nicoddemus/patch-1
Fix call to ScaleEngine.autoScale
2 parents 9022b5a + 01a049a commit 835d122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwt/plot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ def updateAxes(self):
954954
d.isValid = False
955955
minValue = intv_i.minValue()
956956
maxValue = intv_i.maxValue()
957-
d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
957+
minValue, maxValue, stepSize = d.scaleEngine.autoScale(d.maxMajor, minValue, maxValue, stepSize)
958958
if not d.isValid:
959959
d.scaleDiv = d.scaleEngine.divideScale(
960960
minValue, maxValue, d.maxMajor, d.maxMinor, stepSize

0 commit comments

Comments
 (0)