On Mon, 31 Oct 2011 at 09:39PM -0500, Jason Grout wrote: > Add a ymin and ymax as a workaround: > > list_plot([[0, 0.7886751345948214], [0.01, 0.788675134595], [0.02, > 0.788675134595], [0.03, 0.788675134595], [0.04, 0.788675134595], > [0.05, 0.788675134595], [0.06, 0.788675134595], [0.07, > 0.788675134595], [0.08, 0.788675134595], [0.09, 0.788675134595], > [0.1, 0.788675134595]],ymin=0,ymax=1) > > I agree that we should detect this problem when we draw a graphic > with ybounds too close to each other and turn off minor ticks or > increase the ybounds or something. Or maybe it's a bug in > matplotlib we should track down. If we offload it to the matplotlib > guys, we should get a purely matplotlib example of the problem > first.
Since plot(constant, ...) works, there's *something* in Sage or matplotlib that detects and works around this problem. So we just need to replicate that in list_plot(). (Sadly, that "we" cannot be me; too busy at the moment.) This is now ticket #11973: http://trac.sagemath.org/sage_trac/ticket/11973 Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature
