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] Improve axisartist documentation#27351

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

Open
oscargus wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromoscargus:axislinedocs

Conversation

oscargus
Copy link
Member

PR summary

Some improvements to the axisartist documentation. Can be further improved, but at least providing a bit more info.

PR checklist

axes : `mpl_toolkits.axisartist.axislines.Axes`
nth_coord : {0, 1}, optional
Along which coordinate the value varies in 2D. 0: x-axis, 1: y-axis.
passingthrough_point :
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to "value" for consistency with the parent class?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I was considering the other way around, sincepassingthrough_point gives some information about what it is used for. But with a good description (which it currently lacks...), value is probably easier to remember/spell etc.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be much simpler to documentnth_coord andvalue (orpassingthrough_point, which is not even really well named as it's a scalar value, not a 2d point) together as something like "nth_coord = 0; value = v means to draw an axis atx=v;nth_coord = 1; value = v means to draw an axis aty=v". (By the way this suggests that your wording for nth_coord's doc is also "wrong"?)

Parameters
----------
loc : ["left", "right", "top", "bottom"]
axis_direction : ["left", "right", "top", "bottom"], optional
Copy link
Contributor

Choose a reason for hiding this comment

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

just..., default: *loc*

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@oscargus@anntzer

[8]ページ先頭

©2009-2025 Movatter.jp