Unexpected behavior when using Threads.@spawn

Thank you, I think that’s the most likely explanation.

Guess I’ll have to use @async with any plotting related code for now just to be safe and make my own code to be thread safe for using Threads.@spawn