Dear all,

Is there a way to combine bold and regular text in matplotlib?
I would like to do something like

text(0,0, "Some regular text 123 \bf{some bold text 456}")

I tried to use mathtext as follows

text(0,0,'$\\mathdefault{\mathrm{some plain text-123 }\\mathbf{some bold 
text-456}}$')

but this treats all text as math, so spaces are lost, hyphens become minus 
signs, and numbers are not in bold.

Thanks!

Best,
-Michiel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to