>>>>> "John" == John Hunter <[EMAIL PROTECTED]> writes:

    John> You have to make sure your yaxis limits are strictly
    John> positive, eg

    John>   ax.set_ylim(1e-3, 1e3) ax.set_yscale('log')

No that won't quite do it, sorry for the noise.  The problem is that
the histogram bottom of the rectangle is zero by default, and
transforming those vertices are causing the problem.  You need to use
the "bottom" kwarg to set the bottom of the bars to be positive, eg

hist(rand(100), 20,  bottom=1e-3)

JDH


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to