So I also had this issue, for me using dash inside the engine to manage the plots resolved all my issues.