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

ENH: errorbar in qt figureoptions#18650

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
andyfaff wants to merge4 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromandyfaff:error

Conversation

andyfaff
Copy link
Contributor

PR Summary

I'd like to change various properties of an errorplot using a Qt figureoptions dialogue. This dialog is presented when NavToolBar is created. At the momenterrorplots do not show up in the Curves tab, so one can't change their colour, markersize, etc.
This PR detects if an ErrorbarCollection is present, and adds it to the Curves popup list. This permits adjustment of the line/marker properties of the 'host' Line. Pragmatically the bars/caps of theerrorplot are set to be the same color as the host Line, and the same linewidth of the host Line.

fixes#18631

PR Checklist

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • [N/A] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • [N/A] Conforms to Matplotlib style conventions (installflake8-docstrings andpydocstyle<4 and runflake8 --docstring-convention=all).
  • New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

@andyfaff
Copy link
ContributorAuthor

Possibly the most controversial change is adding a generator to flatten a nested sequence, I added this to make it easier to grab all the lines out ofErrorbarCollection.lines.

@QuLogic
Copy link
Member

There is aflatten inmatplotlib.cbook.

andyfaff reacted with thumbs up emoji

@andyfaff
Copy link
ContributorAuthor

I'll remove the flatten I added, and use the other one. Otherwise is the PR in a suitable form?

@andyfaff
Copy link
ContributorAuthor

@QuLogic refactored to useflatten frommatplotlib.cbook

@jklymakjklymak marked this pull request as draftApril 23, 2021 16:57
@jklymak
Copy link
Member

Who is our figureoption guru? I've never used it, but hopefully someone will step up and shepherd this.

@github-actions
Copy link

Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it.

@github-actionsgithub-actionsbot added the status: inactiveMarked by the “Stale” Github Action labelAug 23, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

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

Assignees
No one assigned
Labels
GUI: QtNew featurestatus: inactiveMarked by the “Stale” Github Actionstatus: needs rebase
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Errorbar lines are not present in the Qt NavToolBar --> curves tab
3 participants
@andyfaff@QuLogic@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp