Subject: mailing-list for TeXmacs Users
List archive
From : Karl Hegbloom <address@hidden>- To: Vincent Douce Mathoscope <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] font in matplotlib
- Date: Tue, 21 Nov 2017 17:09:41 +0000
Try English spelling, Roman, or look for the TeX font name in something like a font chooser from a gtk or kde / qt app.
On Tue, Nov 21, 2017, 05:54 Vincent Douce Mathoscope <address@hidden> wrote:
hi i have installed matplotlib and tried the following code-------------------eq1=(r"$\sqrt{x}$")plt.text(0.25, 0.5, eq1, ha='center', va='center', color="#11557c", alpha=1,transform=plt.gca().transAxes, fontsize=10, clip_on=True, family="serif", fontname="Romain")-------------------the aim is to create a figure that i will insert in my texmacs book (matplotlib export as png)the thing is, i want for the texts inside the picture to be the same font and the same size than the text in the texmacs documentobviously, matplotlib does not know "Romain" as a font, althought this is the font indicated in my texmacs documentany idea how i could proceed to find the name of the right font ?thanks––––––––––––––––––––––––––
Vincent DouceMathoscope, éveilleur de mathématiques
http://mathoscope.xyz06=°13=°11=°07=°26Bagnères de Bigorre 65200
--
- [TeXmacs] font in matplotlib, Vincent Douce Mathoscope, 11/21/2017
- Re: [TeXmacs] font in matplotlib, Karl Hegbloom, 11/21/2017
- Re: [TeXmacs] font in matplotlib, Vincent Douce Mathoscope, 11/23/2017
- Re: [TeXmacs] font in matplotlib, Karl Hegbloom, 11/26/2017
- Re: [TeXmacs] font in matplotlib, Karl Hegbloom, 11/26/2017
- Re: [TeXmacs] font in matplotlib, Karl Hegbloom, 11/26/2017
- Re: [TeXmacs] font in matplotlib, Vincent Douce Mathoscope, 11/23/2017
- Re: [TeXmacs] font in matplotlib, Karl Hegbloom, 11/21/2017
Archive powered by MHonArc 2.6.19.