Re: [matplotlib-devel] Potential Bug in axes.py

2009-06-23 Thread Brad Chivari
Anyone? Am I way off the mark here? Thanks, Brad On Thu, 18 Jun 2009 14:41:03 -0300 Brad Chivari wrote: > SUBJECT: > Filtering out 0 bar height/width not working > > FILE: > matplotlib/ trunk/ matplotlib/ lib/ matplotlib/ axes.py > > PROBLEM: > xmin = np.amin(width

[matplotlib-devel] Potential Bug in axes.py

2009-06-18 Thread Brad Chivari
SUBJECT: Filtering out 0 bar height/width not working FILE: matplotlib/ trunk/ matplotlib/ lib/ matplotlib/ axes.py PROBLEM: xmin = np.amin(width[width!=0]) # filter out the 0 width rects ymin = np.amin(height[height!=0]) # filter out the 0 height rects These aren't using proper python list comp