Speed up cartesian axes supplyDefaults
See original GitHub issueFrom https://github.com/plotly/plotly.js/pull/2527, Plots.supplyDefaults takes > 100ms at 50x50 subplots which feels like an eternity when zooming.
- Getting rid of
indexOf
into axis lists would be a good start (perhaps experimenting with ES6Map
andSet
could be worthwhile) - Perhaps we could try opening a partial
Plots.supplyDefaults
pathway, that would only update a subset of the graph’s cartesian axes and their dependencies.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Splom open items · Issue #2555 · plotly/plotly.js - GitHub
speed up cartesian axis defaults: Speed up cartesian axes supplyDefaults #2549; replacing getBoundingClientRect calls in Axes.doTicks ...
Read more >pyspark - Spark - speed up cartesian product - Stack Overflow
I need to build a graph G=(N, F) where F(n) is the function that has as image the subset S of the words...
Read more >plotly.js-gl2d-dist-min | Yarn - Package Manager
Use derequire browserify plugin to make bundling distributed npm package with browserify possible [#2905]; Speed up cartesian axis autorange edits (and thus ...
Read more >z/OS MVS Programming: Workload Management Services - IBM
Period proportional aggregate speed plot. ... workload management cleans up the resources associated with the monitoring environment.
Read more >ORIENT version 4.9 - Anthony Stone
'parent' site in the same molecule, and a molecule can be built up step by step, ... The site position can be specified...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds reasonable. Another option - not necessarily mutually exclusive, we could do both in fact - would be to make another collation of subplots that maps each (x|y) axis onto the (y|x) axes it makes subplots with. That should substantially reduce the size and complexity of loops like this.
Referencing https://github.com/plotly/plotly.js/issues/749 - moving away from the “relink everything approach” should speed up
supplyDefaults
in some scenarios.