Plotly hangs when using devcontainers

Hello,
I am using the latest version of plotly (5.20.0) and I am experiencing a very strange behaviour that
happens sporadically when I render charts. I am using the latest version of Chrome on a MacOS
and the plot() function often just hangs and displays an empty white screen

Does anyone know if this is a known issue? Running the same code a couple of times usually fixes the problem and the graph is eventually displayed in a short amount of time.