fonts

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>

i have found
iwrite it here in case it may be useful to someone

then choose a style with

···

-----
        ???
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06?13?11?07?26
          Bagn?res de Bigorre 65200

Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html