-
-
Notifications
You must be signed in to change notification settings - Fork 8k
DOC: Remove long uninstructive examples #28654
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
Conversation
- [Hatch filled histogram](https://matplotlib.org/stable/gallery/lines_bars_and_markers/filled_step.html) Hatching in histograms is fully supported through matplotlib#28073. This is [now simple](https://matplotlib.org/devdocs/gallery/statistics/histogram_multihist.html#hatch) and does warrant a dedicated example. - [Percentiles in horizontal bar charts](https://matplotlib.org/stable/gallery/statistics/barchart_demo.html) This is a very complex example. But in the end, it's just a bar plot with annotations. While it is statistics-themed through the use of perecntiles, the plot itself has no statistics-related characteristics.
b8528cd
to
6f1bf33
Compare
Agree on the hatched hist, but could the percentiles one make a decent tutorial if it was reworked or at that point is it basically the lifestyle of plot tutorial?
I don't see that the percentiles examples is a good basis for a tutorial. In short:
- It uses various plot elements. They are combined to to achieve a very specific visualization but it's rather a random collection of elements and methods, not a cohesive subset.
- TBH I find the visualization itself not very good. (Not going into details, because I don't want to start that discussion)
I'd claim, if you have something specific you want to show, you'd be better off with creating a suitable example from scratch.
It uses various plot elements. They are combined to to achieve a very specific visualization but it's rather a random collection of elements and methods, not a cohesive subset.
See, I think that's a plus for a tutorial, but I also do see your point that messaging it into a good tutorial is probably not worth it - I'd probably extend the lifecycle tutorial rather than write new but that's probably the way to go.
I don't think this is worth backporting?
Remove
Hatch filled histogram
Hatching in histograms is fully supported through Add support for multiple hatches, edgecolors and linewidths in histograms #28073 . This is now simple and does warrant a dedicated example.
Percentiles in horizontal bar charts
This is a very complex example. But in the end, it's just a bar plot with annotations. While it is statistics-themed through the use of perecntiles, the plot itself has no statistics-related characteristics.