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

PoC: Document each rcParam individually#28930

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
QuLogic wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromQuLogic:doc-rcparams

Conversation

QuLogic
Copy link
Member

PR summary

Taking cues from the math symbol table, this adds a directive to generate a listing from theRcParams dictionary, with types taken from the validators (partially complete), though there could perhaps be other ways to implement it. Then therc role is updated to point to these individual anchors.

We also have nowhere to put the documentation for each one yet, so the actual information is all just stubs. This would be the main obstacle to completing this change.

PR checklist

story645 reacted with heart emoji
Taking cues from the math symbol table, this adds a directive togenerate a listing from the `RcParams` dictionary, with types taken fromthe validators (partially complete), though there could perhaps be otherways to implement it. Then the `rc` role is updated to point to theseindividual anchors.We also have nowhere to put the documentation for each one yet, so theactual information is all just stubs.
@github-actionsgithub-actionsbot added topic: rcparams topic: sphinx extension Documentation: buildbuilding the docs Documentation: user guidefiles in galleries/users_explain or doc/users labelsOct 3, 2024
@timhoffm
Copy link
Member

I believe we eventually should have a function-based/declarative approach to specifying rcParams, similar toargparse.

e.g.

config.add_param(""figure.dpi", type=float, default=100, help="figure dots per inch")

This would bind all relevant information together and make it easy to generate documentation. A minor obstacle would be to generate a reasonably formatted defaultmatplotlibrc (but we could also leave the existing matplotlibrc for now and instead just write a function that checks that it's consistent with the config.

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

Successfully merging this pull request may close these issues.

2 participants
@QuLogic@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp