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
> "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 (
Diwaker Gupta wrote:
>> 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 t
> 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
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
en
> "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
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" == 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 tra
Oops, I replied to your previous message before seeing this one.
Still, the larger question remains: maybe we should do something to make
it easier for users to understand what is going on when the transform
chokes on log(0). Changing numbers <=0 to a small positive number and
issuing a warnin
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
> "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 r
> "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 Unstable.
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.
> >> 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 run the following script:
from pylab import *
hist(rand(100), 20)
ax = gca()
ax.set_ysc
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 from
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 with
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.
17 matches
Mail list logo