I have a Dash app that creates a lot of Plotly plots, each with several subplots, each of those with multiple traces. Creating the app can take a minute or so.
After profiling my code, I noticed that almost half of the running time is spent in validate_coerce() which is called by add_trace().
I took a quick look at the source code, and it looks like validate_coerce() does object creation and type conversion kind of stuff. Is there a possibility that it could be made faster?