I tested this on the current version of Plotnine (0.13.4.post15+g9e8664d) and mizani 0.11.1:
Whenever I try to use the '_r' suffix to named colormaps to reverse the values of any named colormap available in the matplotlib colormaps, which has always been possible in previous versions of plotnine, a value error is thrown due to Uknown colormap.
I tested this on the current version of Plotnine (0.13.4.post15+g9e8664d) and mizani 0.11.1:
Whenever I try to use the
'_r'
suffix to named colormaps to reverse the values of any named colormap available in the matplotlib colormaps, which has always been possible in previous versions of plotnine, a value error is thrown due to Uknown colormap.Reproducible example
Normal named colormap works:
The reverse doesn't:
Yet the named colormap is available directly within matplotlib, because I am able to do the following without any errors whatsoever:
It doesn't seem to be an error coming simply from this colormap but ubiquitous for all of them!