How to make a custom hoverinfo lables for Plotly boxplot?

Viewed 1955

Basically I have a problem with the current version of Plotly which doesn't display hoverinfo for box plot correctly. It omits labels (min, max, median etc.), so when I plot the following plot:

plot_ly(y = ~rnorm(50), type = "box")

box plot without median, min and max labels

I don't have the necessary labels.

Is there a way for me to give custom hover labels so they go like this Max: 1.97, q3: 0.84, Median: 0.25 etc.?

My Plotly version is ‘4.7.1’

2 Answers

Installing the latest dev version from github solves the problem, see issue #1160 on github

Related