[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? -- Cheers, Nick Schurch Data

[Matplotlib-users] Another text problem...

2010-05-20 Thread Nick Schurch
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 Life Sciences, University of Dundee, Dow St, Dundee, DD1 5EH, Scotland, UK Tel: +44 1382

[Matplotlib-users] hist question...

2010-05-19 Thread Nick Schurch
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

[Matplotlib-users] hist question...

2010-05-18 Thread Nick Schurch
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, University

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

2010-03-16 Thread Nick Schurch
), but 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, Dundee

[Matplotlib-users] tabbed figure browsing..

2010-02-15 Thread Nick Schurch
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 345 893

[Matplotlib-users] his problems...

2010-02-09 Thread Nick Schurch
, in bar assert len(height)==nbars, argument 'height' must be %d or scalar % nbars AssertionError: argument 'height' must be 101 or scalar Any idea why this isn't working? I have matplotlib v0.91.2 - will updating to 0.99 solve the problem? -- Cheers, Nick Schurch