-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
featuresomething newsomething new
Description
Hi,
Errors in Plotly are shown upon hover as relative values. For example, in the following graph
data = {
"type": "scatter",
"y": [10, 11],
"error_y": {
"type": "data",
"array": [1, 2],
"arrayminus": [1, 2]
}
}
the first data point is displayed as 10 +1 /-1
.
It would be interesting for some cases to display the absolute values as an interval 10 (9, 11)
. For example when plotting odds ratios it is preferable to read the confidence interval in a straightforward way rather than showing the spread. Even with hovertemplate
I could not figure out how to properly set this behavior.
I think it could implemented with a new "display" key in error_x
|error_y
with the values "relative" (default) or "absolute"
Metadata
Metadata
Assignees
Labels
featuresomething newsomething new