You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch attribute was deprecated in Matplotlib 3.5 and will be removed two minor releases later.
Suggested Improvement
It would be good to know what other attribute to use instead of cbar.patch in order to do things like control interaction. It would be nice if the emitted warning and API notes were updated, but at least one or the other would help.
Ahh yes, that's true in my case because I want the figure anyway. Feel free to close, or leave open if you think it's worth adding a note about how the patch properties might otherwise be modified (since it's possible people might be using cbar.patch somehow that way, too?)
Activity
jklymak commentedon Jul 12, 2021
Cbar.ax.figure should work.
larsoner commentedon Jul 12, 2021
Ahh yes, that's true in my case because I want the figure anyway. Feel free to close, or leave open if you think it's worth adding a note about how the patch properties might otherwise be modified (since it's possible people might be using
cbar.patchsomehow that way, too?)jklymak commentedon Jul 12, 2021
The patch really wasn't doing anything, so it's hard to know what message would be helpful in general.
Btw thanks a lot for testing master!