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

Feature Implementation for "setting spine default location displacement rcParams" *ATTEMPT 2* - DRAFT PR#30024

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

Draft
ebubekir-pulat wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromebubekir-pulat:feature-issue-13930

Conversation

ebubekir-pulat
Copy link

** DRAFT PULL REQUEST **

closes#13930

This PR is a re-attempt of PR#30011 which I think I messed up. I address the comments made in that PR conversation as well.

Implementing feature to set default spine positions for top, left, right and bottom using rcParams. Feature implementation involves the addition of four new rcParams:

axes.spines.left.position
axes.spines.right.position
axes.spines.bottom.position
axes.spines.top.position

The default value for the rcParams is ('outward', 0.0). The 'axes.spines.{spine_type}.position' format for the rcParams was chosen, as 'axes.spines.{spine_type}' is already taken for another purpose, I believe whether to show or not show an axis.

The rcParams can be set to ('outward' | 'axes' | 'data', amount) or 'center' or 'zero'

Below is a screenshot showing the feature in action.

image

@timhoffm
Copy link
Member

Note for the future: You do not have to close PRs and open a new one "ATTEMPT 2". Instead, just force-push changes to the existing branch. That will automatically update the existing PR.

ebubekir-pulat reacted with thumbs up emoji

@ebubekir-pulat
Copy link
Author

Is this PR an appropriate implementation of this feature? Do I need to add to the documentation, or write a test?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
Status: Needs review
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

setting spine default location displacement rcParams
2 participants
@ebubekir-pulat@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp