Refer to this simple example:
https://plotly.com/python/line-and-scatter/#scatter-plot-with-plotly-express
If I call fig.show()
multiple times, plotly seems to know which port to use depending on the ports already in use.
Can I be pointed out to the code segment that checks which ports are already in use and how it determines which one to write on? Any other reference would also be appreciated.
This knowledge is useful to launch plotly app in a multi-user machine, where users can be using the app simultaneously and only one user can write to port 8050 at a time.
1 post - 1 participant