Skip to content

Commit 1e9fa3e

Browse files
author
Pierre Raybaut
committed
QwtPlot: when calling setAxisTitle, updating plot layout
1 parent e81665b commit 1e9fa3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qwt/qwt_plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ def setAxisMaxMajor(self, axisId, maxMajor):
413413
def setAxisTitle(self, axisId, title):
414414
if self.axisValid(axisId):
415415
self.axisWidget(axisId).setTitle(title)
416+
self.updateLayout()
416417

417418
def updateAxes(self):
418419
intv = [QwtInterval() for _i in range(self.axisCnt)]

0 commit comments

Comments
 (0)