Weird graphics in matplotlib when changing the scale

Posted by Werner on Stack Overflow See other posts from Stack Overflow or by Werner
Published on 2010-03-17T16:27:50Z Indexed on 2010/03/17 16:31 UTC
Read the original article Hit count: 193

Filed under:

Hi,

I get a histogram picture in matplotlib which looks great. Now I realize I need a log scale on the y-axis, so I just add to the code:

ax.set_yscale('log')

but then, the histogram bars dissapear and I only get some sparse points, do you know waht could be the reason?

Thanks

© Stack Overflow or respective owner

Related posts about matplotlib