From: John H. <jdh...@ac...> - 2006-12-27 14:29:58
|
>>>>> "Diwaker" == Diwaker Gupta <diw...@gm...> writes: >> >> The following minimal script reveals a rendering problem >> with >> displaying a histogram on a log vertical axis. Diwaker> Has this been resolved yet? I'm running Matplotlib Diwaker> 0.87.5-2.2 on Debian Unstable. I try to run the following Diwaker> script: Diwaker> from pylab import * hist(rand(100), 20) ax = gca() Diwaker> ax.set_yscale('log') show() You have to make sure your yaxis limits are strictly positive, eg ax.set_ylim(1e-3, 1e3) ax.set_yscale('log') JDH |