When using the PostScript backend, and plotting several lines with the same
call to plot (or when plotting a LineCollection), kwargs are applied to the
first line only, and not to every line.
Included is a minimal script that exhibits this problem. The saved figure shows
only one thick red line where we would expect two such lines.
Paul Novak
#!/usr/bin/env python
import matplotlib
matplotlib.use('PS')
from pylab import *
x = arange(0.0, 5.0)
y = 2 * x
plot(x, x, x, y, color='red', linewidth = 5)
savefig('image')
show()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users