From: Tom H. (NIH/N. [E] <to...@ku...> - 2007-05-23 20:31:44
|
Works for me, python 2.4, matplotlib 0.90.0, .matplotlibrc: numerix: numpy backend: GTKAgg even with lw=20 John Hunter wrote: > I seem to be getting some corner artifacts when using *Agg that I > haven't seen before. Anyone else seeing something strange and any > idea why? > > import numpy > > from pylab import figure, show > > t = numpy.arange(0.0, 1.0, 0.1) > s = numpy.ones(len(t), dtype=numpy.float_) > s[1::2] = 0. > > fig = figure() > ax = fig.add_subplot(111) > ax.plot(t, s, '-', lw=2) > ax.set_ylim(-.5, 1.5) > show() > -- Tom Holroyd, Ph.D. "The fundamentally misconceived nature versus nurture debate should be abandoned: child development is inextricably both." -- Louann Brizendine |