File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -539,10 +539,12 @@ def _warn_if_global_cmap_modified(cmap):
539
539
if getattr (cmap , '_global' , False ):
540
540
_api .warn_deprecated (
541
541
"3.3" ,
542
+ removal = "3.6" ,
542
543
message = "You are modifying the state of a globally registered "
543
- "colormap. In future versions, you will not be able to "
544
- "modify a registered colormap in-place. To remove this "
545
- "warning, you can make a copy of the colormap first. "
544
+ "colormap. This has been deprecated since %(since)s and "
545
+ "%(removal)s, you will not be able to modify a "
546
+ "registered colormap in-place. To remove this warning, "
547
+ "you can make a copy of the colormap first. "
546
548
f'cmap = mpl.cm.get_cmap("{ cmap .name } ").copy()'
547
549
)
548
550
You can’t perform that action at this time.
0 commit comments