Of course, pylab.axis([float(0.1),float(3.5),float(0.1),float(3.5)]) works. Thanks a lot!
Is it a longer term goal to make such type conversions automatic? Cheers, Stan Jason Grout wrote: > Stan Schymanski wrote: > >> Hi Jason, >> >> your suggestion works, but it is not only related to integers, as I get >> the same error message if I use e.g. 0.1, 3.1, 0.1, 3,1 as axis ranges. >> How could I convert sage reals to python reals? >> > > use float(0.1) > > > Thanks, > > Jason > > > > > > -- ________________________________________ Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.3641.576264 Fax: +49.3641.577274 WWW: http://www.bgc-jena.mpg.de/~sschym Biospheric Theory and Modelling Group http://www.bgc-jena.mpg.de/bgc-theory/ _________________________________________ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---