-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
add attribute boxtext
to boxplots
#2145
Comments
I think you're looking for more box-centric For example, |
That would be nice, too – but not what I meant. I want to change the actual text that is displayed in the Of course I had to calculate the numbers myself if I wanna concatenate them with my custom strings, i.e. include them directly in Additionally it could make sense to "hardcode" the ordering of the values of |
Ok. I can't say I'm a fan of this proposal. Sure, plugging numbers would be easy from R, but then we can't guarantee the numbers will exactly match the ones on the plot. Note that PR #2094 also adds text descriptors to the box hover labels: |
Awesome, almost exactly what I meant. Now I wanna just be able to customize those text descriptors, e.g. to translate them into my native language 🙂 |
Then, this will be part of #856 |
Allright, that looks promising and would fully enable what I wanna accomplish, I guess 👍 |
Hi @amirh357 that's a pretty good idea. Have you any solution for it? |
Hello, here is an example where I add another hover information : (https://codepen.io/kiruahxh/pen/PoNYvWw) However, I found no information about the boxplot tooltip customization/replacement (ex : How can I show a multiline text instead of having multiple tooltips? How can I translate 'median' and 'min' keywords ? How can I feed a tooltip with the statistics automatically computed by plotly.js ?) |
@nmoreaud |
Would be nice if we could change the 5 (6 if
boxmean=TRUE
) hoverinfo texts of Plotly's boxplots to custom values.#2094 seems to introduce the
text
attribute for the individual data points in boxplots. An additionalboxtext
attribute for the aggregate summary statistics (min, lower quartile, median, mean, upper quartile, max) hoverinfo texts would be awesome.This seems to become even more relevant when other whisker options get intoduced as proposed in #277. To give viewers an idea of what the values of the boxplot actually depict, the
boxtext
attribute could then be set to an adequately explanatory character vector.Might be related: #1642
The text was updated successfully, but these errors were encountered: