First, some code:
In [1]:
print('hello *world*')
2 * 3
Out[1]:
An image:
In [2]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
np.random.seed(2016)
plt.imshow(np.random.rand(4, 4, 3), interpolation='none')
plt.xticks([])
plt.yticks([])
plt.show()
"This is not part of the previous code cell's output, since it's not Python."