Hi Jason, I tried "%matplotlib notebook" and it gives me interactive plots within the notebook!! I have been trying to do it.
Thankyou very much! On Wednesday, 9 March 2016 21:40:20 UTC+5:30, Jason Moore wrote: > > Note that you can simply type "%matplotlib notebook" if you want > interactive plots from matplotlib in the notebook. > > Bokeh and mpld3 also give this functionality. > > > Jason > moorepants.info > +01 530-601-9791 > > On Wed, Mar 9, 2016 at 8:06 AM, Sartaj Singh <singhs...@gmail.com > <javascript:>> wrote: > >> > I ran the notebook. No window appears for me >> . >> I also ran the notebook, the plot window appears for me though. The plots >> are interactive :). >> >> > My idea is to make this work inside the browser itself, so that it >> works for everybody (and myself too). >> >> I agree with ondrej that it is better to be inside the browser itself. >> >> > I searched around a bit, and it turns out there is already: >> > >> > %matplotlib notebook >> >> I also tried this with: >> >> %matplotlib inline >> >> The plots appear fine, although they are not interactive. However, they >> do appear when I re-executive the cell. Maybe we need the best of both. :) >> >> > So a good project would be >> > to improve this matplotlib / jupyter interaction. It's not even really >> > related to sympy, but I'll be happy to get somebody from matplotlib to >> > help us mentor this. I think this would be very useful. There could be >> > sympy bits to improve too. E.g. perhaps sympy documentation and more >> > examples how to do 2D and 3D plots, perhaps adding some more >> > functionality. >> >> I agree. I will also try to investigate what possible features can be >> added. >> >> >> On 9 March 2016 at 21:17, Ondřej Čertík <ondrej...@gmail.com >> <javascript:>> wrote: >> >>> On Wed, Mar 9, 2016 at 3:15 AM, Aman Deep <amande...@gmail.com >>> <javascript:>> wrote: >>> > Hello Developers, >>> > >>> > As you all suggested, I have started working on Jupyter as the Gui with >>> > sympy. >>> > >>> > As Ondrej suggested to make some interactive plots using sympy in >>> Jupyter >>> > notebook since the current plots are static. >>> > >>> > So After going through some online resources , I was able to make some >>> > interactive plots using mathplotlib and sympy plotting module. >>> > >>> > Here is the link to the Jupyter notebook file that I made >>> > >>> https://drive.google.com/file/d/0B_yUvrIaXV4lR2IwWVhIUHpFOEk/view?usp=sharing >>> > I have also included comments in the notebook using markdown before >>> each >>> > code block. >>> >>> Use nbivewer.jupyter.org to show notebooks, so that people can see >>> them. Like this: >>> >>> http://nbviewer.jupyter.org/gist/certik/93bd15ac659b693985ce >>> >>> I ran the notebook. No window appears for me. I assume that I don't >>> have some kind of a backend installed. My idea is to make this work >>> inside the browser itself, so that it works for everybody (and myself >>> too). So this would mean: >>> >>> * investigating what javascript libraries are available >>> * how to integrate with jupyter >>> * writing code for sympy and/or perhaps some kind of a jupyter >>> extension to make this all work (perhaps both) >>> >>> I searched around a bit, and it turns out there is already: >>> >>> %matplotlib notebook >>> >>> and it provides an interactive matplotlib plot! Both 2D and 3D works! >>> That's actually amazing, I didn't know they implemented this. >>> >>> It's a bit flaky, e.g. it only works the first time, if I reexecute >>> the cell, it disappears and never shows again until I restart the >>> notebook. So this would need to be fixed. So a good project would be >>> to improve this matplotlib / jupyter interaction. It's not even really >>> related to sympy, but I'll be happy to get somebody from matplotlib to >>> help us mentor this. I think this would be very useful. There could be >>> sympy bits to improve too. E.g. perhaps sympy documentation and more >>> examples how to do 2D and 3D plots, perhaps adding some more >>> functionality. >>> >>> So a project like this would be very useful to lots of people. >>> >>> Ondrej >>> >>> > >>> > Please let me know if its fine. >>> > >>> > On Monday, 7 March 2016 21:56:51 UTC+5:30, Aman Deep wrote: >>> >> >>> >> Hello Developers, >>> >> >>> >> I am Aman Deep, a second year student studying Information Technology >>> at >>> >> National Institute of Technology, Dugrapur, India. >>> >> >>> >> I am eager to work for Sympy this GSoC. >>> >> >>> >> I would like to make a gui interface for sympy for making it more user >>> >> friendly. I would like to use Tkinter module for it since it is >>> >> cross-platform and I already have experience with it. >>> >> >>> >> Please let me know, how should I proceed. >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups >>> > "sympy" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an >>> > email to sympy+un...@googlegroups.com <javascript:>. >>> > To post to this group, send email to sy...@googlegroups.com >>> <javascript:>. >>> > Visit this group at https://groups.google.com/group/sympy. >>> > To view this discussion on the web visit >>> > >>> https://groups.google.com/d/msgid/sympy/d112c69c-a56f-4e2e-993d-adb1026fb6cd%40googlegroups.com >>> . >>> > >>> > For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sympy" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to sympy+un...@googlegroups.com <javascript:>. >>> To post to this group, send email to sy...@googlegroups.com >>> <javascript:>. >>> Visit this group at https://groups.google.com/group/sympy. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sympy/CADDwiVD%3DQ5QcOkKSQSC4v1z_UCkTdTupYw611Woi%2BAR3H-BUdA%40mail.gmail.com >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Regards >> *Sartaj Singh* >> >> *Mathematics and Computing*, >> Indian Institute of Technology, >> Varanasi - 221 005 INDIA >> >> E-mail: singhs...@gmail.com <javascript:>, *sartaj.si...@itbhu.ac.in >> <javascript:>* >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sympy+un...@googlegroups.com <javascript:>. >> To post to this group, send email to sy...@googlegroups.com <javascript:> >> . >> Visit this group at https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/CAC%2BH8-HOvYTVGaa9AbQueA5quT0Noe75JGXaMfF9VLYtkuS-kQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/sympy/CAC%2BH8-HOvYTVGaa9AbQueA5quT0Noe75JGXaMfF9VLYtkuS-kQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/aa1274da-14a4-4866-8c82-8a47e1ce65d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.