Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updates thegalleries/tutorials/artists.py file in response to issue #28920#29080

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 4 commits intomatplotlib:mainfromfocardozom:main
Nov 14, 2024

Conversation

focardozom
Copy link
Contributor

PR summary

This pull request addressesissue #28920 by updating thegalleries/tutorials/artists.py file to allow suppressing missing references using a! prefix, rather than themissing_references extension.

PR checklist

  • This PR updates thegalleries/tutorials/artists.py file in response toissue #28920.
  • The modified file can be viewedhere.

@github-actionsgithub-actionsbot added the Documentation: tutorialsfiles in galleries/tutorials labelNov 5, 2024
@tacaswelltacaswell added this to thev3.10.0 milestoneNov 5, 2024
Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

timhoffm
timhoffm previously requested changesNov 5, 2024
Comment on lines 159 to 161
# stored as member variables :attr:`!Figure.patch
# <matplotlib.figure.Figure.patch>` and :attr:`!Axes.patch
# <matplotlib.axes.Axes.patch>` ("Patch" is a name inherited from
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
# stored as member variables :attr:`!Figure.patch
# <matplotlib.figure.Figure.patch>` and :attr:`!Axes.patch
# <matplotlib.axes.Axes.patch>` ("Patch" is a name inherited from
# stored as member variables :attr:`!Figure.patch` and
# :attr:`!Axes.patch` ("Patch" is a name inherited from

The explicit targets are not needed when we don't link and actually would render verbatim. Compare this

grafik

to the original

grafik

Please update all other occurences accoringly as well.

Ping@story645. This is something to be aware of for similar PRs.

story645 and focardozom reacted with thumbs up emoji
@@ -11,15 +11,15 @@

There are three layers to the Matplotlib API.

* the :class:`matplotlib.backend_bases.FigureCanvas` is the area onto which
* the :class:`!matplotlib.backend_bases.FigureCanvas` is the area onto which
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Actually, the previous way of expression is not exactly great - there is just no class
matplotlib.backend_bases.FigureCanvas. We have a logical concept ofFigureCanvas that's realized through the subclasses ofFigureCanvasBase. Maybe

Suggested change
*the:class:`!matplotlib.backend_bases.FigureCanvas`istheareaontowhich
*the*FigureCanvas* (subclassesof`.FigureCanvasBase`)istheareaontowhich

And subsequently only use FigureCanvas as a given name (for the logical concept) without further highlighting.

Or better, switch to:term:`FigureCanvas`, but that'd require first setting up a gloassary#28889.

But we can also leave all this for later.

the figure is drawn
* the :class:`matplotlib.backend_bases.Renderer` is the object which knows how
to draw on the :class:`~matplotlib.backend_bases.FigureCanvas`
* the :class:`!matplotlib.backend_bases.Renderer` is the object which knows how
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Same issue as above:Renderer is a concept realized through the subclasses ofRendererBase.

@timhoffmtimhoffm marked this pull request as ready for reviewNovember 14, 2024 12:57
Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Let's take this as an incremental improval. And decouple from possible wording improvements.

@timhoffmtimhoffm merged commit55fa822 intomatplotlib:mainNov 14, 2024
22 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestNov 14, 2024
@timhoffm
Copy link
Member

Thanks@focardozom

focardozom reacted with heart emoji

timhoffm added a commit that referenced this pull requestNov 14, 2024
…080-on-v3.10.xBackport PR#29080 on branch v3.10.x (Updates the `galleries/tutorials/artists.py` file in response to issue#28920)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@tacaswelltacaswelltacaswell approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
Documentation: tutorialsfiles in galleries/tutorials
Projects
Status: Waiting for author
Milestone
v3.10.0
Development

Successfully merging this pull request may close these issues.

3 participants
@focardozom@timhoffm@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp