Hello,

Consider these two simple lines in IPython -pylab:
plt.hist(np.random.randn(1000), normed=1, histtype='step', label='test', lw=2)
plt.legend()

How could I change the appearance of the legend symbol in this case?
It auto-uses a patch object (rectangle in this case).
I would like to get a straight line instead.

Thanks.

-- 
Gökhan

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to