-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Using interactive shell with matplotlib latest version(3.7.0) I got the following error
AttributeError: 'FigureCanvasQTAgg' object has no attribute 'set_window_title'
However, downgrading to matplotlib==3.4.0 worked with a Deprecation Warning:
The set_window_title function was deprecated in Matplotlib 3.4 and will be removed two minor releases later. Use manager.set_window_title or GUI-specific methods instead. fig.canvas.set_window_title('PyBDSM Fit Results for '+ img.filename) /path_to_python3.8/site-packages/bdsf/plotresults.py:252: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("gray").copy() gray_palette.set_bad('k')