Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotly express bar: slow to setup with animations and/or color #4071

Closed
hrani opened this issue Feb 20, 2023 · 1 comment
Closed

Plotly express bar: slow to setup with animations and/or color #4071

hrani opened this issue Feb 20, 2023 · 1 comment

Comments

@hrani
Copy link

hrani commented Feb 20, 2023

#2400
I am facing almost the similar problem, according to issue 2400 it has been address and increased the speed of loading.
tohistogram.txt
import plotly.express as px
import pandas as pd
df=pd.read_csv('tohistogram.csv')
fig_bar = px.bar(df,x='Name',y='Value',animation_frame='Time',color='Name',facet_row='Type') (4.8s to load)
fig_bar = px.histogram(df,x='Name',y='Value',animation_frame='Time',color='Name',facet_row='Type') (5.1s to load)
fig_bar = px.bar(df,x='Name',y='Value',animation_frame='Time',facet_row='Type') (1.48s to load)
fig_bar = px.histogram(df,x='Name',y='Value',animation_frame='Time',facet_row='Type') (1.51s to load)
fig_bar.show()
With color the plotting takes 4.8sec and without color it takes 1.47s,
I have around 9 data point and each data point have 255 entry (Which is starting point, number of data points and entry gets bigger)
Is this reasonable time what I am facing or am I doing something wrong here?

@gvwilson
Copy link
Contributor

gvwilson commented Jul 5, 2024

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Alternatively, if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

@gvwilson gvwilson closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants