You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request efficient encoding for plotly offline #1174
I know @jonmmease is planning to do this anyway, so this issue isn't really necessary. However, I said that I would create it and I'd like to humbly ask to please keep multi-dimensional arrays in the back of your mind as you work on this. Heatmaps and contour plots are my biggest offenders.
In the meantime, let's do an experiment. I'd like to see how much the base64 encoding would help in your situation.
Take one of the large multi-dimensional numpy arrays that you're dealing with, lets call it a. First convert it to JSON as a list and measure the time and size (in ipython or jupyter):
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, so I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson
Activity
jonmmease commentedon Sep 12, 2018
Thanks for creating the issue @cboulay ,
In the meantime, let's do an experiment. I'd like to see how much the base64 encoding would help in your situation.
Take one of the large multi-dimensional numpy arrays that you're dealing with, lets call it
a. First convert it to JSON as a list and measure the time and size (in ipython or jupyter):Then convert to a base64 encoded string:
Then compare
gvwilson commentedon Jun 13, 2024
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, so I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson