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
I'm confused as to why amber and amber_r both exist, for instance, but deep_r does not exist. I also don't see a function to reverse a colormap or anything like that? I guess I can use map.get_mpl_color_map().reversed().
The text was updated successfully, but these errors were encountered:
I primarily rely on established colormap providers and do not create my own, including reversed colormaps. While some colormaps benefit from reversal, others may not. Reversed sequential colormaps often work well with dark backgrounds.
You can indeed use the reversed() method in Matplotlib to reverse existing (list) colormaps.
If you'd like me to incorporate additional colormaps from reputable sources, please feel free to suggest them. I'll evaluate whether they warrant inclusion or if adding a dependency is necessary.
However, the standardization functions should work fine with your own, you can pass a mpl cmap as in the example:
importscicomapasscimportmatplotlib.pyplotasplt# works for other cmap typempl_cmap=plt.get_cmap(A_MPL_SEQUENTIQL_CMAP)
sc_map=sc.ScicoSequential(cmap=mpl_cmap)
f=sc_map.assess_cmap(figsize=(22,10))
I'm confused as to why
amber
andamber_r
both exist, for instance, butdeep_r
does not exist. I also don't see a function to reverse a colormap or anything like that? I guess I can usemap.get_mpl_color_map().reversed()
.The text was updated successfully, but these errors were encountered: