I just installed matplotlib 0.87.5 and numpy 1.0 from source on my
Debian "sarge" (stable release) system. (I chose those versions
because they're the ones currently included in the testing "etch"
release.) Everything I've tried has worked *except* the ylabel()
command. Whenever a plot containing a ylabel is rendered (on the
screen with show() or figure(), or non-interactively with savefig()),
python exits with the error
This does not happen if the ylabel() command is omitted, and there is
no problem with xlabel(), so I assume the issue is rotating the text
for the y axis label.
> ipython -pylab
/usr/lib/python2.3/site-packages/numpy/ctypeslib.py:12: UserWarning: All features of ctypes interface may not work with ctypes < 1.0.1
warnings.warn("All features of ctypes interface may not work with " \
/usr/lib/python2.3/site-packages/IPython/Shell.py:628: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
Python 2.3.5 (#2, Oct 16 2006, 19:19:48)
Type "copyright", "credits" or "license" for more information.
IPython 0.6.13 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.
In : plot([0, 1],[0, 1])
Out: [<matplotlib.lines.Line2D instance at 0xb5b46f2c>]
In : xlabel('foo')
Out: <matplotlib.text.Text instance at 0xb5b2d4cc>
In : ylabel('bar')
Anyone have experience with this and care to point me towards the
solution to such a problem?
Office: 0.17 (Golm) Dr. John T. Whelan
Phone: +49 331 567 7117 Albert-Einstein Institute
FAX: +49 331 567 7298 Am Muehlenberg 1
http://www.aei.mpg.de/~whelan/ D-14476 Potsdam