Skip to content

Commit 7085a8d

Browse files
authored
Merge pull request matplotlib#30775 from rcomer/qt-title
FIX: figureoptions updates title string only
2 parents 4f9f32a + 50aee83 commit 7085a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt_editor/figureoptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def apply_callback(data):
194194
raise ValueError("Unexpected field")
195195

196196
title = general.pop(0)
197-
axes.set_title(title)
197+
axes.title.set_text(title)
198198
generate_legend = general.pop()
199199

200200
for i, (name, axis) in enumerate(axis_map.items()):

0 commit comments

Comments
 (0)