1 | initial version |
The link points to my website, which I recently updated. The only way I found at the moment to plot inline was to enter this in the IPython notebook:
%load_ext sage
from IPython.display import display, Image
x = var('x')
plot(sin(x), 0, 2*pi, figsize=4).save('/tmp/foo.png')
display(Image('/tmp/foo.png')
2 | No.2 Revision |
The link link points to my website, which I recently updated. The only way I found at the moment to plot inline was to enter this in the IPython notebook:
%load_ext sage
from IPython.display import display, Image
x = var('x')
plot(sin(x), 0, 2*pi, figsize=4).save('/tmp/foo.png')
display(Image('/tmp/foo.png')