Re: [sage-support] Re: using Matplotlib and sagetex

2010-11-18 Thread Dan Drake
On Thu, 18 Nov 2010 at 07:55PM -0800, kcrisman wrote: > > I see that the OP effectively did this; see above where he did > > "plt.save = plt.savefig", which gives his object the .save() method > > that SageTeX wants. > > Hmm... so what if mpl included a save, not just savefig, method? If mpl incl

[sage-support] Re: using Matplotlib and sagetex

2010-11-18 Thread kcrisman
On Nov 18, 9:59 pm, Dan Drake wrote: > On Wed, 17 Nov 2010 at 06:21PM -0800, kcrisman wrote: > > I'd like to point out that > >http://trac.sagemath.org/sage_trac/ticket/5128might also be relevant > > - Dan D., can you comment on whether an eventual solution to that > > ticket would take care of

Re: [sage-support] Re: using Matplotlib and sagetex

2010-11-18 Thread Dan Drake
On Wed, 17 Nov 2010 at 06:21PM -0800, kcrisman wrote: > I'd like to point out that > http://trac.sagemath.org/sage_trac/ticket/5128 might also be relevant > - Dan D., can you comment on whether an eventual solution to that > ticket would take care of this? (I assume, out of ignorance, that > there

[sage-support] Re: using Matplotlib and sagetex

2010-11-17 Thread kcrisman
Wow, what service! If Google groups were easier to use, we could track down more such requests :) I'd like to point out that http://trac.sagemath.org/sage_trac/ticket/5128 might also be relevant - Dan D., can you comment on whether an eventual solution to that ticket would take care of this? (I

[sage-support] Re: using Matplotlib and sagetex

2010-11-17 Thread Constantin
Adam Webb yahoo.com> writes: > > Hi, > > I would like to add plots to a document using sagetex and my script > uses matplotlib to generate the plot. Is it possible to matplotlib > with sagetex? I understand that /sageplot{} wants a > with a .save method. However, I have not found how to generat