Re: [Matplotlib-users] histogram bug

2006-12-29 Thread Eric Firing
John Hunter wrote: Eric == Eric Firing [EMAIL PROTECTED] writes: Eric either, indistinguishably from the way it does now. The Eric problem is that with a linear axis we want the axis to start Eric at zero by default, but with a log axis we want it to start With ymin at 1e-100,

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread John Hunter
Eric == Eric Firing [EMAIL PROTECTED] writes: Eric Adjusting zero and negative values (or maybe just zero) Eric would be unacceptable in a numerics library, but in the Eric context of our graphical transforms it is analogous to Eric clipping, and this we do all the time--we

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread Eric Firing
John, Thank you for your thorough and thoughtful reply. OK, I am convinced. I had not realized that the present line-drawing code actually is omitting nonpositive points, but now I see the Line.get_plottable() method. I have committed changes to svn that I think will be helpful--maybe good

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread Diwaker Gupta
Examples: This makes a sensible plot that behaves well under zooming and panning: hist(randn(1000), log=True) show() Thanks! However... The following still generates an exception: hist(randn(1000)) gca().set_yscale('log') show() I think this makes the API more confusing. As an end

Re: [Matplotlib-users] histogram bug

2006-12-28 Thread John Hunter
Eric == Eric Firing [EMAIL PROTECTED] writes: Eric either, indistinguishably from the way it does now. The Eric problem is that with a linear axis we want the axis to start Eric at zero by default, but with a log axis we want it to start With ymin at 1e-100, the default (linear)

Re: [Matplotlib-users] histogram bug

2006-12-27 Thread Eric Firing
John Hunter wrote: Diwaker == Diwaker Gupta [EMAIL PROTECTED] 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

Re: [Matplotlib-users] histogram bug

2006-12-27 Thread John Hunter
Eric == Eric Firing [EMAIL PROTECTED] writes: Eric Oops, I replied to your previous message before seeing this Eric one. Still, the larger question remains: maybe we should do Eric something to make it easier for users to understand what is Eric going on when the transform

Re: [Matplotlib-users] histogram bug

2006-12-27 Thread Eric Firing
John Hunter wrote: Eric == Eric Firing [EMAIL PROTECTED] writes: Eric Oops, I replied to your previous message before seeing this Eric one. Still, the larger question remains: maybe we should do Eric something to make it easier for users to understand what is Eric going on

Re: [Matplotlib-users] histogram bug

2006-12-26 Thread Eric Firing
The problem is still present in svn. Thanks for the reminder. Eric Diwaker Gupta wrote: The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. Has this been resolved yet? I'm running Matplotlib 0.87.5-2.2 on Debian Unstable. I try to

Re: [Matplotlib-users] histogram bug

2006-07-22 Thread Gary Ruben
More information on this bug: on my WinXP laptop, it seems to only manifest under some circumstances. When running the script from inside SciTE or ipython, it seems more or less repeatable (sometimes it won't show on the first run but does from then on), but if the .py file is run directly

[Matplotlib-users] histogram bug

2006-07-21 Thread [EMAIL PROTECTED]
The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. I'm using matplotlib0.87.4 in WinXP with python 2.3.5 Enthon. from pylab import * hist(rand(100), 20, bottom=1) setp(gca(), yscale=log) show() Gary R.

Re: [Matplotlib-users] histogram bug

2006-07-21 Thread Gary Ruben
Note: I just verified that this was introduced into 0.87.4. 0.87.3 doesn't exhibit the problem. See attachment. Gary R. [EMAIL PROTECTED] wrote: The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. I'm using matplotlib0.87.4 in WinXP