From: Eric F. <ef...@ha...> - 2012-05-27 03:53:05
|
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.savefig("works.png") > pylab.close() > pylab.plot([0, 1], [1, 1+1e-14]) > pylab.savefig("fails.png") > pylab.close() > > We're using matplotlib 1.1. Here's a trac ticket where we are working on > this: http://trac.sagemath.org/sage_trac/ticket/11973. One of our > developers suspects matplotlib.ticker.MaxNLocator.bin_boundaries but we > don't really know. See https://github.com/matplotlib/matplotlib/pull/904 Eric > > Thanks for any help or comments! > > Dan > > -- > --- Dan Drake > ----- http://mathsci.kaist.ac.kr/~drake > ------- |