Re: [matplotlib-devel] modification of update_path_extents?

2008-11-12 Thread Eric Firing
>> if (x > 0.0 && x < *xm) *xm = x; >> if (y > 0.0 && y < *ym) *ym = y; >> } >> } >> >> >> In the last 2 lines, why are xm and ym being clipped at 0, when x0 and >> y0 are not? > xm and ym are the minimum positive values, used for log scales. > Definitely worth a comment. I

Re: [matplotlib-devel] modification of update_path_extents?

2008-11-12 Thread Michael Droettboom
Eric Firing wrote: > Michael Droettboom wrote: >> >> Eric Firing wrote: >>> Mike, >>> >>> A bug was recently pointed out: axhline, axvline, axhspan, axvspan >>> mess up the ax.dataLim. I committed a quick fix for axhline and >>> axvline, but I don't think that what I did is a good solution, so

Re: [matplotlib-devel] modification of update_path_extents?

2008-11-12 Thread Eric Firing
Michael Droettboom wrote: > > Eric Firing wrote: >> Mike, >> >> A bug was recently pointed out: axhline, axvline, axhspan, axvspan >> mess up the ax.dataLim. I committed a quick fix for axhline and >> axvline, but I don't think that what I did is a good solution, so >> before doing anything fo

Re: [matplotlib-devel] modification of update_path_extents?

2008-11-12 Thread Michael Droettboom
Eric Firing wrote: > Mike, > > A bug was recently pointed out: axhline, axvline, axhspan, axvspan > mess up the ax.dataLim. I committed a quick fix for axhline and > axvline, but I don't think that what I did is a good solution, so > before doing anything for axhspan and axvspan I want to arr

[matplotlib-devel] modification of update_path_extents?

2008-11-11 Thread Eric Firing
Mike, A bug was recently pointed out: axhline, axvline, axhspan, axvspan mess up the ax.dataLim. I committed a quick fix for axhline and axvline, but I don't think that what I did is a good solution, so before doing anything for axhspan and axvspan I want to arrive at a better strategy. What