The graph was not displayed and error was thrown. It would be great, if we have the support to display plots to do data science experiments/sessions (similar to how Datacamp.com supports). Otherwise, repl.it is excellent resource for CS teachers.

import matplotlib.pyplot as plt

plt.plot([1,2,3,4])

plt.ylabel('some numbers')

plt.show()

Traceback (most recent call last):

File "python", line 1, in <module>

ImportError: libtk8.6.so: cannot open shared object file: No such file or directory