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 @@ -557,10 +557,12 @@ def _warn_if_global_cmap_modified(cmap):
557557 if getattr (cmap , '_global' , False ):
558558 _api .warn_deprecated (
559559 "3.3" ,
560+ removal = "3.6" ,
560561 message = "You are modifying the state of a globally registered "
561- "colormap. In future versions, you will not be able to "
562- "modify a registered colormap in-place. To remove this "
563- "warning, you can make a copy of the colormap first. "
562+ "colormap. This has been deprecated since %(since)s and "
563+ "%(removal)s, you will not be able to modify a "
564+ "registered colormap in-place. To remove this warning, "
565+ "you can make a copy of the colormap first. "
564566 f'cmap = mpl.cm.get_cmap("{ cmap .name } ").copy()'
565567 )
566568
You can’t perform that action at this time.
0 commit comments