[Matplotlib-users] Another text problem...

2010-05-20 Thread Nick Schurch
;some text" lines up with the bottom of the "g", and doesn't line up witht he rest of the letters. It look like they are not on the same line! This has got to be a bug in the way matplotlib deals with text. -- Cheers, Nick Schurch Data Analysis Group (The Barton Group), School of

[Matplotlib-users] variant not working in text()...

2010-05-20 Thread Nick Schurch
Hi all, I'm adding some text to a plt like this: import mapplotlib.pyplot as plt fig=plt.figure() plt.text(0.5,0.5,"some text", variant='small-caps') but the text that is plotted is not small caps, its just normal. Is this a bug or am I doing something wrong? -- Ch

[Matplotlib-users] hist question...

2010-05-19 Thread Nick Schurch
but I figured it'd be something like: import matplotlib.pyplot as plt hplot=plt.hist(data, bins=1000) plt.hist(hplot) or plt.hist(hplot[0],bins=hplot[1]) or plt.plot(hist) etc, but nothing works. Cheers, Ni

[Matplotlib-users] hist question...

2010-05-18 Thread Nick Schurch
but I figured it'd be something like: import matplotlib.pyplot as plt hplot=plt.hist(data, bins=1000) plt.hist(hplot) or plt.hist(hplot[0],bins=hplot[1]) or plt.plot(hist) etc, but nothing works. -- Cheers, Nick Schurch Data Analysis Group (The Barton Group), School of Life Sciences, Uni

[Matplotlib-users] how can I show some figures, but not others?

2010-03-16 Thread Nick Schurch
what I really want is only some of the figures to be brought up in the GUI. Is there a way of specifying which figures show() shows (I can't find anything on the webpage)? -- Cheers, Nick Schurch Data Analysis Group (The Barton Group), School of Life Sciences, University of Dundee, Dow St, D

[Matplotlib-users] tabbed figure browsing..

2010-02-15 Thread Nick Schurch
re as a tab in that window - is this possible from matplotlib? -- Cheers, Nick Schurch Data Analysis Group (The Barton Group), School of Life Sciences, University of Dundee, Dow St, Dundee, DD1 5EH, Scotland, UK Tel: +44 1382 388707 Fax: +44 1382 34

[Matplotlib-users] his problems...

2010-02-09 Thread Nick Schurch
.py", line 5060, in hist align=align, log=log) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 3253, in bar assert len(height)==nbars, "argument 'height' must be %d or scalar" % nbars AssertionError: argument 'height' mus