plotly / plotly/react-plotly.js

Is there a way to partially re-render a plot?

Open
#219 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
138
Avg merge
3d 2h
Merged PRs (30d)
4

Description

I have a plot showing 2 data streams, the first is a large heatmap and is static over the lifetime of the component. The second is a line on the heat map and needs to be updated continually. However, the updates are slow presumably because both datasets are being rendered on state refresh. Is there an option or way I can construct the component such that the large heatmap does not need to re-render when state is updated?

Any help is appreciated. Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing how react-plotly.js handles state updates for the heatmap and line datasets, then determine whether the static heatmap can avoid re-rendering while the line updates; done means continual line updates no longer redraw the large heatmap.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.