We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Plotly is unreasonably slow to add more than a few hundred annotations to a plot. This code
import time import plotly fig = plotly.graph_objects.Figure() NUM_ANNOTATIONS=1000 start_time = time.monotonic() for i in range(NUM_ANNOTATIONS): fig.add_annotation( x=i, y=time.monotonic() - start_time, text=str(i), ) print(i) fig.update_layout( xaxis_range=[0,NUM_ANNOTATIONS], yaxis_range=[0,time.monotonic() - start_time], xaxis_title_text="# Annotations", yaxis_title_text="Cumulative Time [s]", ) fig.show()
produces this plot
Plotly is unreasonably slow to add more than a few hundred annotations to a plot. This code
produces this plot