legend location

Hi there!

I've been using the legend function in a plot but can't get the location setting to work. I've tried the numeric and string versions of the location codes and tried several backends (but only winXP, python 2.3.3). The legend always appears upper-right.

Is this functionality platform-dependent?

···

#----------------------------------------------
import matplotlib.matlab as plots
import Numeric as num

x = num.arange(10)
plots.plot(x,x)
plots.legend('test',loc=4)
plots.show()
#----------------------------------------------

--
Jon Peirce
Nottingham University
+44 (0)115 8467176 (tel)
+44 (0)115 9515324 (fax)

http://www.psychology.nottingham.ac.uk/staff/jwp/

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.