Re: [matplotlib-devel] plot() with a nearly-constant sequence doesn't always work

2012-05-26 Thread Dan Drake
On Sat, 26 May 2012 at 03:30PM -1000, Eric Firing wrote: > It is easy enough to remove the immediate roadblock in scale_range, > but that just opens up a can of floating point worms. The axis spines > start getting misplaced, for example, as the range being plotted gets > too small relative to the

Re: [matplotlib-devel] plot() with a nearly-constant sequence doesn't always work

2012-05-26 Thread Eric Firing
On 05/25/2012 12:46 PM, Dan Drake wrote: > Hello matplotlib developers, > > In Sage, we've run into a problem with plotting a sequence whose > y-values change by very small amounts. Here's an example that doesn't > use anything from Sage: > > import pylab > pylab.plot([0, 1], [0, 1e-14]) > pylab.sa

Re: [matplotlib-devel] plot() with a nearly-constant sequence doesn't always work

2012-05-26 Thread Eric Firing
On 05/25/2012 12:46 PM, Dan Drake wrote: > Hello matplotlib developers, > > In Sage, we've run into a problem with plotting a sequence whose > y-values change by very small amounts. Here's an example that doesn't > use anything from Sage: > > import pylab > pylab.plot([0, 1], [0, 1e-14]) > pylab.sa

Re: [matplotlib-devel] plot() with a nearly-constant sequence doesn't always work

2012-05-25 Thread Eric Firing
On 05/25/2012 12:46 PM, Dan Drake wrote: > Hello matplotlib developers, > > In Sage, we've run into a problem with plotting a sequence whose > y-values change by very small amounts. Here's an example that doesn't > use anything from Sage: > > import pylab > pylab.plot([0, 1], [0, 1e-14]) > pylab.sa

[matplotlib-devel] plot() with a nearly-constant sequence doesn't always work

2012-05-25 Thread Dan Drake
Hello matplotlib developers, In Sage, we've run into a problem with plotting a sequence whose y-values change by very small amounts. Here's an example that doesn't use anything from Sage: import pylab pylab.plot([0, 1], [0, 1e-14]) pylab.savefig("works.png") pylab.close() pylab.plot([0, 1], [1, 1