# Revision history [back]

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'})