[Matplotlib-devel] [rfc] a better interchange format for colormaps

Isaac Gerg isaac.gerg at gergltd.com
Wed Apr 20 21:25:46 EDT 2016

Could you use HDF format?  Its a bit overkill as a storage container but
almost everything supports it.

On Wed, Apr 20, 2016 at 8:10 PM, Nathaniel Smith <njs at pobox.com> wrote:

> On Wed, Apr 20, 2016 at 4:59 PM, Daniele Nicolodi <daniele at grinta.net>
> wrote:
> > On 4/20/16 5:22 PM, Nathaniel Smith wrote:
> >> I wrote up a little spec to
> >> standardize a way of storing and distributing colormaps in JSON, with
> >> the hope that we can convince everyone to implement this and stop
> >> writing silly little conversion scripts all the time.
> >
> > While I'm not a fan of Matlab, I think it would be nice to be able to
> > use colormaps defined in this way with it. It is a few years I'm not
> > working in Matlab, but at the time there were no built-in tools to read
> > JSON files. It would be unfortunate if this interchange format would
> > depend on a large third party library to be used with Matlab.
> Do you have any suggestions for how to format the data so that it
> could be used more easily in Matlab while still being easily usable
> from Javascript? I guess if I have to pick I'm more worried about
> compatibility with D3 and Vega than with Matlab...
> -n
> --
> Nathaniel J. Smith -- https://vorpus.org
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20160420/d358bf6d/attachment.html>

More information about the Matplotlib-devel mailing list