Skip to Content.
Sympa Menu

texmacs-users - Re: [texmacs-users] matplolib inside [was Re: jupyter…]

Subject: mailing-list for TeXmacs Users

List archive

Chronological Thread  
  • From: Giovanni Piredda <address@concealed>
  • To: address@concealed
  • Subject: Re: [texmacs-users] matplolib inside [was Re: jupyter…]
  • Date: Thu, 24 Oct 2024 18:37:27 +0000


On 24/10/24 13:45, vincent douce wrote:


hello
here a matplotlib that works and the picture appears inside the tm document (file matplotlib-texmacs.tm)
and a matplotlib that does not appear at all (file TP3)
i can’t manage to understand why
Vincent


I also do not understand why

This said, try

def trace2(self):
        fig,ax=plt.subplots()
        ax.plot(self.x,self.y)
        ax.set_aspect(1)
        plt.show
        return(ps_out(fig))




Archive powered by MHonArc 2.6.24.

Top of Page