DOC: Rewrite the example illustrating bxp()#27965
Merged
rcomer merged 1 commit intomatplotlib:mainfrom Mar 23, 2024
Merged
Conversation
rcomer
reviewed
Mar 23, 2024
Member
There was a problem hiding this comment.
When boxplot_stats was introduced, one of the stated advantages mentioned in the whatsnew is that you can modify its output dictionaries before passing them to bxp. Is it worth mentioning that here too, or is that an obvious exercise for the reader?
In general, 👍 to this change.
Previously, the example essentially replicated illustrations of a lot of styling variants, which have already been shown for `boxplot()`. Compare: - https://matplotlib.org/3.8.3/gallery/statistics/bxp.html - https://matplotlib.org/3.8.3/gallery/statistics/boxplot.html I believe it's not necessary to iterate through all that again. Instead, this rewrite focuses on the relation between `boxplot_stats()`, `bxp()` and `boxplot`. And it shows how to use `bxp()` in isolation.
Member
Author
|
@rcomer I would skip mentioning that you can modify the output of |
rcomer
approved these changes
Mar 23, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, the example essentially replicated illustrations of a lot of styling variants, which have already been shown for
boxplot(). Compare:I believe it's not necessary to iterate through all that again. Instead, this rewrite focuses on the relation between
boxplot_stats(),bxp()andboxplot. And it shows how to usebxp()in isolation.