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
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
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
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
), 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
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
, 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