On 08/19/2011 09:19 AM, Andre' Walker-Loud wrote: >> >> I agree that this is a bug. (I suspect it is a malign side-effect of >> some attempt to make bar plots work with a log scale, but I haven't >> tracked it down.) What is less clear is the desired behavior. Raise an >> exception? Silently delete the points that are invalid with a log scale? >> Or delete them with a warning? > > I would delete them with a warning. Those who are familiar with logs will > not be surprised. Those who are not familiar will be provided an opportunity > to learn something new! >
I have tracked down the problem, and am testing a fix for it. The intended behavior was silent masking of non-positive values. An option for a warning could be added, but for now I will just make it work as intended, and as it does with other plot types. Eric > > Andre > > > > > >> >> Eric >> >>> >>> thanks a lot, >>> richard >>> >>> The verbose output: >>> >>> $HOME=/Users/richard >>> CONFIGDIR=/Users/richard/.matplotlib >>> matplotlib data path >>> /Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/mpl-data >>> loaded rc file >>> /Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc >>> matplotlib version 1.0.1 >>> verbose.level helpful >>> interactive is False >>> units is False >>> platform is darwin >>> Using fontManager instance from /Users/richard/.matplotlib/fontList.cache >>> backend MacOSX version unknown >>> 1.0.1 >>> >>> The resulting figure: ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users