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

[DOC]: make spanselector example codeblock continuous#24037

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 2 commits intomatplotlib:mainfromianhi:span-example
Sep 29, 2022

Conversation

ianhi
Copy link
Contributor

PR Summary

The spanselector example currently has the code broken up into two chunks by a plot. This is confusing because it's easy to copy the first block without the second and then get confused why it doesn't work (like just happened to me). I think that this will make the codeblock continuous so it's easier to copy and not get confused.

PR Checklist

Tests and Styling

  • [NA] Has pytest style unit tests (andpytest passes).
  • [NA] IsFlake 8 compliant (installflake8-docstrings and runflake8 --docstring-convention=all).

Documentation

  • [NA] New features are documented, with examples if plot related.
  • [NA] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [NA] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).
  • [?] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).

@ianhiianhi changed the title[DOC]: make spanselector codeblock continuous[DOC]: make spanselector example codeblock continuousSep 28, 2022
@story645story645 added this to thev3.6-doc milestoneSep 28, 2022
@ianhi
Copy link
ContributorAuthor

@QuLogic
Copy link
Member

Since it's at the top now, it's better to move it into the docstring instead of as a separate comment.

@story645
Copy link
Member

I like it as the note cause I figure then it's more likely to get read.

@timhoffm
Copy link
Member

The note can still be part of the docstring.

story645 reacted with thumbs up emoji

@story645story645 modified the milestones:v3.6-doc,v3.6.1,v3.6.2Sep 29, 2022
@timhoffmtimhoffm merged commit7a25f50 intomatplotlib:mainSep 29, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestSep 29, 2022
@ianhiianhi deleted the span-example branchSeptember 29, 2022 16:49
timhoffm added a commit that referenced this pull requestSep 29, 2022
…037-on-v3.6.xBackport PR#24037 on branch v3.6.x ([DOC]: make spanselector example codeblock continuous)
@ksundenksunden mentioned this pull requestFeb 20, 2023
6 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@story645story645story645 approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.6.1
Development

Successfully merging this pull request may close these issues.

4 participants
@ianhi@QuLogic@story645@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp