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

Simplify example: Box plots with custom fill colors#27781

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
timhoffm merged 2 commits intomatplotlib:mainfromtimhoffm:simplify-boxplot-color
Feb 13, 2024

Conversation

timhoffm
Copy link
Member

Theoriginal example was more complex than need be:

  • The two plots only differed in thenotch=True parameter, which is irrelevant for custom fill colors -> reduce to one
  • rework to a more realistic-like plot

The [original example](https://matplotlib.org/3.8.0/gallery/statistics/boxplot_color.html) was more complex than need be:- The two plots only differed in the `notch=True` parameter,  which is irrelevant for custom fill colors  -> reduce to one- rework to a more realistic-like plot
@timhoffmtimhoffm added the Documentation: examplesfiles in galleries/examples labelFeb 13, 2024
@timhoffmtimhoffm added this to thev3.9.0 milestoneFeb 13, 2024
Copy link
Member

@rcomerrcomer left a comment

Choose a reason for hiding this comment

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

One small typo but otherwise looks good to me.

np.random.normal(120, 30, size=100),
]
labels = ['peaches', 'oranges', 'tomatos']
colors = ['peachpuff', 'orange', 'tomato']
Copy link
Member

Choose a reason for hiding this comment

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

I did not know these colours existed by using them here is 😎

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Actually, I checkedhttps://matplotlib.org/devdocs/gallery/color/named_colors.html and chose the fruits after available color names 😎

rcomer reacted with heart emoji
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
@timhoffmtimhoffm merged commit1defb57 intomatplotlib:mainFeb 13, 2024
@timhoffmtimhoffm deleted the simplify-boxplot-color branchFebruary 13, 2024 12:40
Impaler343 pushed a commit to Impaler343/matplotlib that referenced this pull requestMar 8, 2024
Simplify example: Box plots with custom fill colorsThe [original example](https://matplotlib.org/3.8.0/gallery/statistics/boxplot_color.html) was more complex than need be:- The two plots only differed in the `notch=True` parameter,  which is irrelevant for custom fill colors  -> reduce to one- rework to a more realistic-like plot---------Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rcomerrcomerrcomer approved these changes

Assignees
No one assigned
Labels
Documentation: examplesfiles in galleries/examples
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

2 participants
@timhoffm@rcomer

[8]ページ先頭

©2009-2025 Movatter.jp