Julia crashed when using PyCall in multiple threads

You have three options:

  • use PythonCall/ PythonPlot instead of PyCall/PyPlot (now threadsafe, not in the past)
  • run Julia with julia -t 1,0 (single threaded)
  • do the plotting in a separate, single-threaded process