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: separate and clarify axisartist default tables#26754

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
QuLogic merged 2 commits intomatplotlib:mainfromstory645:axisartist-table
Oct 7, 2023

Conversation

story645
Copy link
Member

@story645story645 commentedSep 12, 2023
edited
Loading

PR summary

Based on discussion in#26737, rotated the parameter default table in theAxisArtist guide and seperated it out into two to try and clarify that the table is showing the default label parameter values for each reference direction.

general new look:
image

attn:@oscargus

PR checklist

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.

+1 on splitting the table. -1 on changing to list table style. As said in#26737 (comment)

As long as the tables are small (like in this example), I prefer ReST simple tables. Yes they are more cumbersome to update but they are much easier to read, and readability counts. It's not that we are changing these tables all the time.

@story645
Copy link
MemberAuthor

I may be the anomaly but I don't find the list tables harder to read if the table is sensible since it's still row/column order. And I usually have the rendered docs open. On the flip side, I find the hardcoded tables orders of magnitude more annoying to edit - I dunno if it's a byproduct of being on Windows or eyestrain but I always manage to miss something, especially when I have to cascade the changes.

@timhoffm
Copy link
Member

I accept your different standpoint. Let’s if others have an opinion.

@oscargus
Copy link
Member

I'm with Tim here. Two tables clearly made it better (from both source and rendering perspectives), but still I find the "hard-to-edit" tables much easier to understand.

@story645
Copy link
MemberAuthor

changed to grid tables c/o nice vs code plugins + table usage doc/section formatting

@story645story645 mentioned this pull requestOct 5, 2023
16 tasks
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.

This is good to go modulo the typos.

+-------------+-------------------------------+--------------------+
| | small table | large table |
+-------------+-------------------------------+--------------------+
| short entry | `simple or grid table <sg>`__ | `grid table <sg>`_ |
Copy link
Member

Choose a reason for hiding this comment

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

I think there's one underscore too much:

Suggested change
|short entry | `simple or grid table <sg>`__ | `grid table <sg>`_ |
|short entry | `simple or grid table <sg>`_ | `grid table <sg>`_ |

Comment on lines 5 to 7
====================
Theaxisartist toolkit
====================
Copy link
Member

Choose a reason for hiding this comment

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

I assume this is unintended. Have you been playing with table formatting too much? 😜

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

probably a format all instead of format this

@story645
Copy link
MemberAuthor

fixed

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.

Any body can merge after applying above heading formatting suggestion.

@QuLogicQuLogic merged commitcfe5bf7 intomatplotlib:mainOct 7, 2023
@lumberbot-app
Copy link

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout v3.8.xgit pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 cfe5bf75eaf378b9523830908036f2123acfe4e7
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #26754: DOC: seperate and clarify axisartist default tables'
  1. Push to a named branch:
git push YOURFORK v3.8.x:auto-backport-of-pr-26754-on-v3.8.x
  1. Create a PR against branch v3.8.x, I would have named this PR:

"Backport PR#26754 on branch v3.8.x (DOC: seperate and clarify axisartist default tables)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove theStill Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free tosuggest an improvement.

@lumberbot-app
Copy link

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout v3.8.0-docgit pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 cfe5bf75eaf378b9523830908036f2123acfe4e7
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #26754: DOC: seperate and clarify axisartist default tables'
  1. Push to a named branch:
git push YOURFORK v3.8.0-doc:auto-backport-of-pr-26754-on-v3.8.0-doc
  1. Create a PR against branch v3.8.0-doc, I would have named this PR:

"Backport PR#26754 on branch v3.8.0-doc (DOC: seperate and clarify axisartist default tables)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove theStill Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free tosuggest an improvement.

@story645story645 deleted the axisartist-table branchOctober 9, 2023 02:04
@QuLogicQuLogic modified the milestones:v3.8-doc,v3.9.0Oct 26, 2023
@QuLogicQuLogic changed the titleDOC: seperate and clarify axisartist default tablesDOC: separate and clarify axisartist default tablesApr 5, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
Documentation: user guidefiles in galleries/users_explain or doc/userstopic: mpl_toolkit
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

4 participants
@story645@timhoffm@oscargus@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp