Kaushik Ghose writes:
> In [2]: pylab.arange(0.5,1.0,.1)
> Out[2]: array([ 0.5, 0.6, 0.7, 0.8, 0.9]) < OK
>
> In [3]: pylab.arange(0.5,1.1,.1)
> Out[3]: array([ 0.5, 0.6, 0.7, 0.8, 0.9, 1. , 1.1]) <- Not OK
The "bug" is really in numpy, which is where pylab imports arange from,
Hi,
I'm using matplotlib 0.98.5.2 on mac os X.
I get the following behavior with arange that I think is not right
In [1]: import pylab
In [2]: pylab.arange(0.5,1.0,.1)
Out[2]: array([ 0.5, 0.6, 0.7, 0.8, 0.9]) < OK
In [3]: pylab.arange(0.5,1.1,.1)
Out[3]: array([ 0.5, 0.6, 0.7, 0.8,
On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote:
> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote:
>
> > You're looking for 'xlim_changed' and 'ylim_changed'.
> >
> > I know this can be found here:
> > http://matplotlib.sourceforge.net/api/axes_api.html
> >
> > Should we add this to
> > htt
On Wed, Feb 11, 2009 at 8:00 PM, Marjolaine Rouault wrote:
> Hi,
>
> Thanks a lot for your comments. I did try earlier on to remove the bad
> points but came across some problems when re-ordering my array. I will try
> out the method sent to me and check the reference.
Yep, the compacting/reord