Open
Description
There's already an issue outlining the effects graph_object
validation has on plot generation time. Users can bypass this performance hit by replacing the graph_objects
with dict
and then display the plot with plotly.offline.iplot(fig, validate=False)
or if they are creating graphs in Dash, they can forgo the plotly.py
library altogether and just use a dict
in their Graph component's figure
argument.
This solution can greatly improve the performance of Dash apps but it means that Dash users with expensive graphs have to choose between using px
/plotly.py's update
methods and optimally fast code.
I wonder if a way to turn off validation, especially in Dash apps, would help Dash users get the best of both worlds.
cc @matthewchan15