Commit 369b0f8d authored by Pierre Augier's avatar Pierre Augier
Browse files

Maintain: manager.set_window_title

parent 8d4e327176ac
......@@ -91,6 +91,6 @@ class StatePlotIncidenceVersusTests:
max_incidence=self.max_incidence,
)
window_title = f"incidence_vs_tests{date_file}"
self.ax.figure.canvas.set_window_title(window_title)
self.ax.figure.canvas.manager.set_window_title(window_title)
self.ax.figure.tight_layout()
......@@ -139,7 +139,7 @@ class Summary1loc:
loc_for_title = f"dep{self.loc}"
window_title = f"fig_{loc_for_title}{yscale_for_title}_{date_file_Ymd}"
self.ax.figure.canvas.set_window_title(window_title)
self.ax.figure.canvas.manager.set_window_title(window_title)
# fig.canvas.draw()
# fig.canvas.flush_events()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment