This code is the preliminary to anything done in python using matplotlib. It doesn't get anymore basic than that.  Why does it crash when run in Authorea's Jupyter notebook server?  Is it because the 'tk' backend is missing. Is it because it needs to be updated to Python 3.6?