[Matplotlib-users] fonts
Vincent Douce Mathoscope
mathoscope at netcourrier.com
Thu Nov 23 04:30:11 EST 2017
hi
i am new on this forum and i dont know if my first message is passed
i encouter difficulties with this type of code :
eq1=(r"$\rm{\sqrt{x}}Helvetica14$")
plt.text(0.25, 0.5, eq1, ha='center', va='center', color="#11557c", alpha=1,
transform=plt.gca().transAxes, fontsize=14, clip_on=True, family="serif", fontname="Helvetica")
eq2=(r"$\rm{\sqrt{x}}Courier12$")
plt.text(0.25, 0.6, eq2, ha='center', va='center', color="#11557c", alpha=1,
transform=plt.gca().transAxes, fontsize=12, clip_on=True, fontname="Courier",rotation="15")
because the text does not appear with the expected font
i guess i miss something (something like a path for the fonts ?) but dont know what
thanks for your help
––––––––––––––––––––––––––
Vincent Douce
http://mathoscope.xyz
06=°13=°11=°07=°26
Bagnères de Bigorre 65200
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20171123/2ee5602d/attachment.html>
More information about the Matplotlib-users
mailing list