Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] matplotlib within texmacs

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] matplotlib within texmacs


Chronological Thread 
  • 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.

On Tue, Nov 11, 2014 at 4:04 PM, marc lalaude-labayle <address@hidden> wrote:
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.

Note that i haven't tried this before, so i am not sure wether it is due to svn version or not.

I am following an INRIA mooc about python and wanted to use texmacs as a notebook such as ipython notebbok.


Thx for all your work.

Marc




Archive powered by MHonArc 2.6.19.

Top of Page