On Saturday, February 22, 2014 2:33:19 AM UTC+11, vdelecroix wrote:
>
>  * the matplotlib widgets: Sage right now uses matplotlib for main 
> graphics capabilities. matplpotlib comes with a very complete and 
> useful library for making interactive graphics in native windows (with 
> cursors and all kind of things you may imagine). Note that I was not 
> able to make it work within Sage... 
>

Vincent, 

Late to this party, but I thought I would mention that I have successfully 
used some of the matplotlib interactive widgets from within Sage on both OS 
X and Linux.  Specifically, I have used the Tk variant on both platforms; 
you do have to recompile matplotlib since by default Sage chooses not to 
compile any of the GUI backends.  Check out

http://dunfield.info/temp/tkplot.py

for a complete example, including precisely what one needs to do to 
recompile matplotlib for this to work.  

Probably the other GUI backends could be made to work (they all look pretty 
much the same, actually), but the Tk one is the one I needed at the time 
and so the only one I tried. 

Best,

Nathan  
 

>
> The two solutions that I propose do not currently work out of the box 
> with Sage. They are standard Python tools. So as soon as Sage will be 
> compatible with native Python/Ipython the problem will be solved ! You 
> can find many other options on the page [1]. 
>
> Sage should stop reinventing the wheel for graphics ! 
>
> [1] https://wiki.python.org/moin/NumericAndScientific/Plotting 
>
> Best, 
> Vincent 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to