On Wed, May 20, 2009 at 1:01 PM, Ryan May <rma...@gmail.com> wrote: > On Wed, May 20, 2009 at 11:54 AM, Christopher Barker < > chris.bar...@noaa.gov> wrote: > >> Ryan May wrote: >> > use the units in basic_units.py (in the examples/units directory). >> >> This looks like pretty cool stuff. However, I can't seem to find >> matplotlib.units or basic_units.py in the online Sphinx docs. Is this a >> doc bug, or intentional? >> >> There are units examples in the docs. > > > matplotlib.units maintains the api for registering unit-ed quantities and > various other nuts and bolts. It's another one of those modules whose docs > hasn't been converted to sphinx yet, but it does have doc strings. However, > it does not provide any units itself. basic_units.py is an example with > just a few basic quantities to show off how support in matplotlib works, but > is not itself all that useful. > > Darren Dale was working on a full-fledged package for adding units to numpy > arrays called quantities ( > http://packages.python.org/quantities/user/tutorial.html), that would (I > think) work with some of this, but last I saw it stalled a little due to > issues with subclassing ndarray. I haven't seen any other simple > packages/modules that suppors general units for the simple goal of doing > conversions for plotting. >
Thanks for the mention, Ryan. The package hasn't really stalled due to limitation with numpy (although there are some that I would like to address), its just that I have been too busy with other things to work on it. I am planning to continue again in June. Darren
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel