On Saturday, March 19, 2016 at 4:43:46 PM UTC-5, Edward K. Ream wrote:

> Hurray! This puts up a matplotlib plot, identical to the plot created 
from the IPython Qt console!

To summarize the import situation:
    
# IPython does these imports automagically...
from matplotlib.pyplot import plot
from numpy import linspace, pi
    
# The original IPython example...
from scipy.special import jn
x = linspace(0,4*pi)
for i in range(6):
    plot(x, jn(i,x))

I would be possible for Leo's execute-script command to do similar import 
magic if desired, perhaps as the result of Leo settings, or perhaps with a 
new execute-ipython-script command.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to