[Matplotlib-devel] Units discussion...

Jody Klymak jklymak at uvic.ca
Thu Feb 8 14:06:56 EST 2018

> One wrinkle: pint implements a "wrapper" array class rather than an ndarray subclass. Both astropy and yt use and ndarray subclass. There are some classes of errors that only happen for one style of unit arrays and other classes of errors that only happen for the other.

OK. glad I asked.  Is that the case w/ JPL units as well?  If that stipulation makes things easier, maybe se could enforce it?  

Is there a smaller library that subclasses ndarray for units support?  I imagine we could vendorize a subset of whatever astropy or yt do.  Or maybe they aren’t so huge that they would be unreasonable to make as test dependencies.  yt is only 68 Mb.

Cheers,   Jody

Jody Klymak    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180208/6efbc3b8/attachment.html>

More information about the Matplotlib-devel mailing list