Hi everyone,
This has been brought up before, but not completely addressed. Is it
possible to get the text in a Legend to match the rest of the text
when using LateX? Here is an example of the problem:
import matplotlib as mpl
mpl.rcParams['text.usetex'] = True
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1,5,2,3]) # random data
plt.figlegend(ax.lines,[r'$\rm{label}$ label'],loc='upper left')
plt.show()
The first word is at least in a roman font, but the font size is
wrong. I am using svn revision 8005 with gtkagg backend on linux, and
confirm the behavior with 0.99.0 with tkagg on OS X.
Thanks,
Jeff
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users