Matplotlib has deprecated and removed FigureCanvas.set_window_title() and now uses FigureManagerBase.set_window_title(), here. Apparently some backends have no manager, so we have to check if they do, see here. Currently this change will not set the window title without a managed backend.