Subject: mailing-list for TeXmacs Users
List archive
From : Miguel de Benito Delgado <address@hidden>- To: texmacs-users <address@hidden>
- Subject: Re: [TeXmacs] matplotlib within texmacs
- Date: Wed, 12 Nov 2014 14:30:27 +0100
You have to call ps_out on a figure object, you get the current with matplotlib.pyplot.gcf(). Just add this:
ps_out(plt.gcf())
Best,
PS: this is in the documentation for the TeXmacs python plugin! ;)
--
Miguel de Benito.
Miguel de Benito.
On Tue, Nov 11, 2014 at 4:04 PM, marc lalaude-labayle <address@hidden> wrote:
MarcThx for all your work.I am following an INRIA mooc about python and wanted to use texmacs as a notebook such as ipython notebbok.Note that i haven't tried this before, so i am not sure wether it is due to svn version or not.Hi,with a recent svn compiled version of texmacs (don't know precisely which version), i can't get an image within the .tm file as showxn in the pdf and source tm attached files.
- [TeXmacs] matplotlib within texmacs, marc lalaude-labayle, 11/11/2014
- Re: [TeXmacs] matplotlib within texmacs, Miguel de Benito Delgado, 11/12/2014
- [TeXmacs] Bug to convert mu in LaTeX, Nicolas Ratier, 11/12/2014
- Re: [TeXmacs] Bug to convert mu in LaTeX, Miguel de Benito Delgado, 11/12/2014
- [TeXmacs] Bug to convert mu in LaTeX, Nicolas Ratier, 11/12/2014
- Re: [TeXmacs] matplotlib within texmacs, Miguel de Benito Delgado, 11/12/2014
Archive powered by MHonArc 2.6.19.