The following code, run from vscode (as a pure python script, not a notebook) on Ubuntu 18.04 hangs randomly (usually fairly quickly i.e. after the 3rd plot, almost always before the 10th). It appears ...