We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d0cc9f commit 391178bCopy full SHA for 391178b
qwt/plot.py
@@ -1461,6 +1461,8 @@ def canvasMap(self, axisId):
1461
1462
map_.setTransformation(self.axisScaleEngine(axisId).transformation())
1463
sd = self.axisScaleDiv(axisId)
1464
+ if sd is None:
1465
+ return map_
1466
map_.setScaleInterval(sd.lowerBound(), sd.upperBound())
1467
1468
if self.axisEnabled(axisId):
0 commit comments