Indeed, but it should really be fixed in the svn. Xavier
> Hi Xavier, > > I had the same problem and fixed it by changing just two lines of code in the > axes.py (line 1812 and 1814). Just change the formatter in > 'self.xaxis.major.formatter.set_scientific(sb)' to whatever you want (the > same for y). > > But it would really be great to see your proposal as a standard. > > > Greetings, > > David > > > > -------- Original-Nachricht -------- > Datum: Sun, 24 May 2009 19:15:18 +0200 > > Von: Xavier Gnata <xavier.gn...@gmail.com> > An: > matplotlib-users@lists.sourceforge.net > Betreff: [Matplotlib-users] x= / y= > labels default format is wrong > Hello all, > > I routinely work with images > sizes > [1000,1000]. > There is a slight annoying problem whatever the > backend I use: > Pixels coordinates default format is wrong. > It does not > make sense to display "x=1.42e+03,y=1.92e+03". > Pixels coordinates should be > formated *by default* as integers. > > Would it be possible to fix that? > > > Steps to reproduce: > import numpy > import pylab > > a=numpy.random.random((2000,2000)) > pylab.imshow(a,interpolation='Nearest') > > > > Xavier > > > ------------------------------------------------------------------------------ > > 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-users mailing > list > Matplotlib-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ 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 as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users