;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
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
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
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
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
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
.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