-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Hi all,
As well as the rcParams overwrite, mentioned in #460, we see quite a few MatplotlibDeprecationWarning messages when using matplotlib 3.1.2. These stem from lines like below (of which I think there are 5 occurrences):
curr_rc = dict(matplotlib.rcParams)
Where Python will access all of the rcParams in that copy, and so matplotlib will think that any deprecated values are being read. It is possible to copy the rcParams without hitting this warning by calling as below:
curr_rc = matplotlib.rcParams.copy()
That method for getting around this is borrowed from matplotlib/matplotlib#15781.
Apologies, I see the fix for #460 is already in PR #461, I should have probably bundled this observation in with the last issue that I raised.
Metadata
Metadata
Assignees
Labels
No labels