Re: [Matplotlib-users] register colormap collection

2015-10-01 Thread Thomas Caswell
Have a look at how cmocean (https://github.com/matplotlib/cmocean) works under the hood. I think the options are: - use a module to supply your color maps (from my_cmap_collection import my_cmap) and then pass those objects through to the functions - have your module call the register code

Re: [Matplotlib-users] register colormap collection

2015-10-01 Thread Paul Hobson
On Thu, Oct 1, 2015 at 9:40 AM, Thomas Caswell wrote: > Have a look at how cmocean (https://github.com/matplotlib/cmocean) works > under the hood. > > I think the options are: >- use a module to supply your color maps (from my_cmap_collection > import my_cmap) and then