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
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