Hi,
I am trying to plot an histogram, but i cannot set 'yscale' to 'log'.
>>> mu, sigma = 100, 15
>>> x = mu + sigma*randn(10000)
>>> N,b,pb = hist(x)
>>> set(pb, "facecolor", 'r')
>>> set(gca(), 'yscale', 'log')
File "C:\Python23\Lib\site-packages\matplotlib\patches.py", line 131, in draw
tverts = self._transform.seq_xy_tups(verts)
ValueError: Domain error on nonlinear Transformation::seq_xy_tups operator()(thisx, thisy)
kabang !
Does anybody know what's wrong with this?
Thanks in advance
nicolas
···
--
Nicolas.Charvin@...590...
LMOPS - Lab. Matériaux Organiques à Propriétés Spécifiques
Bât IUT - Université de Savoie
73376 LE BOURGET DU LAC CEDEX
Tel: 04-79-75-86-53