Hi,

the FAQ solution to "How do I make vertical xticklabels?" does not work:
Python 2.5.1 (r251:54863, Jan 10 2008, 18:00:49)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from pylab import *
 >>> plot([1,2,3,4], [1,4,9,16])
[<matplotlib.lines.Line2D object at 0x1bcc250>]
 >>> set(gca(), 'xticks', [1,2,3,4])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: set expected at most 1 arguments, got 3

Since Python 2.4 set() is a built-in 
(http://docs.python.org/lib/types-set.html).

The method set() is used in several places in the FAQ. Please update it.

Here are some other things:

- Some code examples are indented with spaces. It would be better if there
were not. This would make copy+paste to the python shell easier.

- The FAQ says it can be used with mod_python. That's true, but it would 
be better
to use mod_wsgi since it is faster, easier to debug, more flexible, ...

Please CC to me, I am not on the list.

  Thomas Güttler



-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to