-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: Add more explanatory comments to gallery examples #11654
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
Comments
Hello @story645, |
Go for it! This issue is fairly broad, so supports multiple people working on it. |
I think we should establish some guidelines what should be in examples and what not. Some rules that come to my mind (not necessarily polished or complete):
It would be helpful to give some reference examples, which follow the guidelines. Also, we should define the difference between an example and a tutorial. In some cases that's not quite clear to me. |
Agree - note that we are also working w/ sphinx-gallery on links to the methods/functions sphinx-gallery/sphinx-gallery#347 which just got merged, so will take a while to release? Adding these back links puts the example in a list under the method (i.e. |
I go back and forth on this 'cause I do this a lot and get lots of complaints that it's confusing. I think a one liner comment can be very useful here. |
I just created a PR to improve examples/widgets/textbox.py #16549 This is my first contribution to matplotlib. Any feedback are welcome! |
Thanks @chrissshe ! |
Hello, I would love to work on this issue if this issue is still open. Could someone guide me; from where to start ? |
@melissawm , can you help me with this please ? How to find some problems to work on ? |
Hi @ggold7046 have you had a look at our contributors’ guide? |
@ggold7046 its not clear what you are asking for here. If you have a contribution, code it up and submit as a PR following the guide given above. We don't assign issues. |
Hi , I'm looking for issues which need more explanatory comments to gallery
examples. I could not find it. Could you help me ?
…On Sun, Apr 9, 2023 at 9:30 PM Jody Klymak ***@***.***> wrote:
@ggold7046 <https://github.com/ggold7046> its not clear what you are
asking for here. If you have a contribution, code it up and submit as a PR
following the guide given above. We don't assign issues.
—
Reply to this email directly, view it on GitHub
<#11654 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXOFZODZZFHYWYYSLD6AFCTXALMINANCNFSM4FJ6NFOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @ggold7046, the aim of this issue was that the contributor looks through the gallery and finds which examples they feel need explanation. But, given how open ended this issue is, I'm going to close it since it will overlap with gsod work and hopefully a byproduct of that work will be more specific and targeted issues outlining what isn't working or how to improve specific gallery examples. |
@erinleeryan raised the concern that many of the matplotlib gallery examples have very little to no prose documentation, which can be frustrating for users unfamiliar with matplotlib conventions.
For example, in the stem plot example below it is unclear what markerline, stemlines, and baseline are relative the plot, and why
plt.stem
returns those three objects and what theplt.setp
function is doing.As suggested by @erinleeryan, it would be a welcome improvement to the docs to add short one line comments explaining what each line is doing, as shown in the pie chart example below:
As an aside, we probably should also remove "simple" and "basic" from the titles of examples, as the gallery image will indicate the level of complexity of the example to the user.
The text was updated successfully, but these errors were encountered: