| 1 | initial version |
At the end, put either the following, which will be supported in the future:
plt.savefig('test2.png')
html("<img src='cell://test2.png' />")
or put the following, which uses internal things that might change in the future:
plt.savefig('test2.png')
sys._sage_.display_message({'text/plain': 'an image', 'text/image-filename': 'test2.png'})
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.