KEMBAR78
timeseries: improved formatting on tooltip by stephanwlee · Pull Request #5003 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@stephanwlee
Copy link
Contributor

Previously, we were showing close to the "raw" value in the tooltip
often leading to very long nonsense especially with the floating point
math errors. The impact of said errors are often seeing a number like
'0.3000000000004' where the last digit 4 often is meaningless. To work
around this, we are using d3.format to remove unnecessary precision
which just often adds visual noises.

@google-cla google-cla bot added the cla: yes label May 21, 2021
@stephanwlee stephanwlee requested a review from bmd3k May 21, 2021 16:01
Previously, we were showing close to the "raw" value in the tooltip
often leading to very long nonsense especially with the floating point
math errors. The impact of said errors are often seeing a number like
'0.3000000000004' where the last digit `4` often is meaningless. To work
around this, we are using d3.format to remove unnecessary precision
which just often adds visual noises.
@stephanwlee stephanwlee merged commit 0be7532 into tensorflow:master May 24, 2021
@stephanwlee stephanwlee deleted the format branch May 24, 2021 21:02
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