Gurus, Windows XP, matplotlib 1.1.0. Backend Tk, but the same elsewhere.
Programme: import matplotlib as mpl import matplotlib.pyplot as plt mpl.rcParams['lines.linewidth'] = 2 mpl.rcParams['lines.color'] = 'r' x=range(800) y=[t for t in x] plt.plot(x,y) plt.show() # ============================== Linewidth OK, equal to 2, but the line is still blue. Changing "r" to red, or to #ff0000, or (1,0,0) doesn't change anything, still blue. Changing directly the matplotlibrc file (default) - the same. Leaving in peace the defaults, constructing another rc in the working dir - the same. The dictionary rcParams contains the correct value 'lines.color': 'r' (Anyway, rcsetup.py validation doesn't protest. But then, the modified colour is ignored). Somebody could confirm that? The best. Jerzy Karczmarczuk Caen, France ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users