Attached code for reproducing the problem
python bug.py --> lc.pdf, lc.png
I noticed a similar bug report posted some time ago on matplotlib-devel
by Fernando Perez.
http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg05133.html
I am on 0.99.3. Has this been fixed in 1.0? I could not find any mention
of it on the changelog ...
Cheers,
--
Giovanni L. Ciampaglia
PhD Student
University of Lugano, MACS Lab
import matplotlib.pyplot as pp
from matplotlib.collections import LineCollection
from matplotlib.colors import colorConverter
import numpy as np
from numpy.random import normal
a = 0.5
x = np.arange(100)
Y = normal(size=(10,100))
coll = LineCollection([ np.c_[x,y] for y in Y ],
colors=colorConverter.to_rgba_array('k', a))
pp.figure()
ax = pp.gca()
ax.add_collection(coll)
pp.axis('tight')
pp.draw()
pp.savefig('lc.pdf', format='pdf')
pp.savefig('lc.png', format='png')
pp.show()
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users