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

line chart: fix bug where line does not update #5423

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

stephanwlee
Copy link
Contributor

@stephanwlee stephanwlee commented Nov 16, 2021

For SVG renderer, which is current default, when a line path updates
while invisible, we never update its path leading to very subtle issue.

Repro steps:

  1. Find a scalar card with more than two runs (all toggled on here)
  2. Toggle all runs off
  3. Toggle on run on
  4. Zoom in and change viewBox
  5. Toggle on another run. Observe that the run line is positioned where
    it was in (1).

Fixes b/206638910.

For SVG renderer, which is current default, when a line path updates
while invisible, we never update its path leading to very subtle issue.

Repro steps:
1. Find a scalar card with more than two runs (all toggled on here)
2. Toggle all runs off
3. Toggle on run on
4. Zoom in and change viewBox
5. Toggle on another run. Observe that the run line is positioned where
   it was in #1.
@stephanwlee stephanwlee merged commit 373028f into tensorflow:master Nov 17, 2021
@stephanwlee stephanwlee deleted the bug branch November 17, 2021 00:19
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
For SVG renderer, which is current default, when a line path updates
while invisible, we never update its path leading to very subtle issue.

Repro steps:
1. Find a scalar card with more than two runs (all toggled on here)
2. Toggle all runs off
3. Toggle on run on
4. Zoom in and change viewBox
5. Toggle on another run. Observe that the run line is positioned where
   it was in tensorflow#1.
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
For SVG renderer, which is current default, when a line path updates
while invisible, we never update its path leading to very subtle issue.

Repro steps:
1. Find a scalar card with more than two runs (all toggled on here)
2. Toggle all runs off
3. Toggle on run on
4. Zoom in and change viewBox
5. Toggle on another run. Observe that the run line is positioned where
   it was in #1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants