| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:51c28724-1c0f-e39c-dc56-8d41aaa086ac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADC4:167F5B:ED6CE:13CF58:6A5181F1 |
| html-safe-nonce | ae564a5300298c77d5ae9b09435adfce0ab3120e421d6b73c9d2c900fe427022 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREM0OjE2N0Y1QjpFRDZDRToxM0NGNTg6NkE1MTgxRjEiLCJ2aXNpdG9yX2lkIjoiOTIwNDM0MjI2MjYxNTYwNTc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d82a5fa9faeee3c110abcb0b32a3577f8c849934dd9ca3e49f86345da953e06e |
| hovercard-subject-tag | pull_request:1595953396 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/27304/files |
| twitter:image | https://avatars.githubusercontent.com/u/17303166?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17303166?s=400&v=4 |
| og:image:alt | PR summary
This PR adds the option of specifying the fillcolor and linecolor of violinplots. It addresses
issue #27298 (and other discusssions and requests elsewhere).
PR checklist
Closes #27298... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/27304/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F27304%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F27304%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/27304/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/27304/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/27304/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
Notifications
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Fork
8.4k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Star
23k
| https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
1.1k
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
409
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
0
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
|
Code
| https://github.com/matplotlib/matplotlib |
|
Issues
| https://github.com/matplotlib/matplotlib/issues |
|
Pull requests
| https://github.com/matplotlib/matplotlib/pulls |
|
Actions
| https://github.com/matplotlib/matplotlib/actions |
|
Projects
| https://github.com/matplotlib/matplotlib/projects |
|
Wiki
| https://github.com/matplotlib/matplotlib/wiki |
|
Security and quality
| https://github.com/matplotlib/matplotlib/security |
|
Insights
| https://github.com/matplotlib/matplotlib/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| timhoffm | https://github.com/timhoffm |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
|
Conversation
86
| https://github.com/matplotlib/matplotlib/pull/27304 |
|
Commits
13
| https://github.com/matplotlib/matplotlib/pull/27304/commits |
|
Checks
0
| https://github.com/matplotlib/matplotlib/pull/27304/checks |
|
Files changed
| https://github.com/matplotlib/matplotlib/pull/27304/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
Allow user to specify colors in violin plots with constructor method
| https://github.com/matplotlib/matplotlib/pull/27304/files#top |
|
Show all changes
13 commits
| https://github.com/matplotlib/matplotlib/pull/27304/files |
|
c1190e6
Add color specification and pyi docs
landoskape Nov 10, 2023
| https://github.com/matplotlib/matplotlib/pull/27304/commits/c1190e65366cc26f0928bebf46219550f457f254 |
|
4c6def1
edgecolor to linecolor, no more alpha
landoskape Jan 27, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/4c6def17870d6c760be49c170aea9254a1adf2be |
|
9ce5d12
Arg documentation
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/9ce5d121bc28720e3a3a3f3645314e1663a073c6 |
|
33d186b
completeness, formatting
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/33d186b31fd6766c87ed2cc83f742e85e5b01032 |
|
9e97d6f
Default logic, docstring, straightforward testing
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/9e97d6fce55652c64e06038dcb04ada39db99464 |
|
2d4c7b7
Spelling error
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/2d4c7b776cc7d891ce9a7bcbfe189c80ab81e3b4 |
|
35f5c62
single "next color" for default face/line
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/35f5c626641c52e5ef179f1d0166407dbc352d62 |
|
8474cf1
Merge branch 'violin-plot-color' of https://github.com/landoskape/mat…
landoskape Jan 28, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/8474cf1ab95ad9ad9a947b94ae71207ffefd5115 |
|
a206de8
clarify color specification
landoskape Jan 29, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/a206de8992b9241c65376eb7010d092465da0dc6 |
|
3998c6f
axes bug -- set with facecolor
landoskape Jan 29, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/3998c6f7fae741e7a84835cc0f239649b235d39f |
|
f219c3f
direct comparison to source colors, face!=line
landoskape Jan 29, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/f219c3f935d3b261c9011c65be031b881303a5f6 |
|
60343f5
adjust behavior for classic mode
landoskape Jan 30, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/60343f56251d025e7b3b1cf3ed07d70014fa23a6 |
|
e66e33a
Apply suggestions from code review
timhoffm Jan 30, 2025
| https://github.com/matplotlib/matplotlib/pull/27304/commits/e66e33a9b760fdf0ee0c48b33909383db2fdadbe |
|
Clear filters
| https://github.com/matplotlib/matplotlib/pull/27304/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
violinplot_colors.rst
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-072d1f291b5b951942f3a8ee7daf86a156f6de1f495060c632e054113de3a0e9 |
|
customized_violin.py
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-fc8c60e090635165de113c8278156eb41cfd260d65ca03d5beb7bec2bed31a91 |
|
_axes.py
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
_axes.pyi
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-eadd15a7040334f239a70a5be507c694c92b6e7b709de5eadd2ee53231200215 |
|
pyplot.py
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
|
test_axes.py
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7 |
| doc/users/next_whats_new/violinplot_colors.rst | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-072d1f291b5b951942f3a8ee7daf86a156f6de1f495060c632e054113de3a0e9 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/doc/users/next_whats_new/violinplot_colors.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
| galleries/examples/statistics/customized_violin.py | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-fc8c60e090635165de113c8278156eb41cfd260d65ca03d5beb7bec2bed31a91 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/galleries/examples/statistics/customized_violin.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-fc8c60e090635165de113c8278156eb41cfd260d65ca03d5beb7bec2bed31a91 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-fc8c60e090635165de113c8278156eb41cfd260d65ca03d5beb7bec2bed31a91 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-fc8c60e090635165de113c8278156eb41cfd260d65ca03d5beb7bec2bed31a91 |
| lib/matplotlib/axes/_axes.py | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/lib/matplotlib/axes/_axes.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/27304/files |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-608e2a1bf3d32fd631b0763599a3334d59822c11cb4fec1fa7398c9714592900 |
| lib/matplotlib/axes/_axes.pyi | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-eadd15a7040334f239a70a5be507c694c92b6e7b709de5eadd2ee53231200215 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/lib/matplotlib/axes/_axes.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-eadd15a7040334f239a70a5be507c694c92b6e7b709de5eadd2ee53231200215 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-eadd15a7040334f239a70a5be507c694c92b6e7b709de5eadd2ee53231200215 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-eadd15a7040334f239a70a5be507c694c92b6e7b709de5eadd2ee53231200215 |
| lib/matplotlib/pyplot.py | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/lib/matplotlib/pyplot.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-d1edb5a528e7423f485b24cac2083d05d365a19352f886bf15af3ef442bdda92 |
| lib/matplotlib/tests/test_axes.py | https://github.com/matplotlib/matplotlib/pull/27304/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7 |
|
View file
| https://github.com/matplotlib/matplotlib/blob/e66e33a9b760fdf0ee0c48b33909383db2fdadbe/lib/matplotlib/tests/test_axes.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/27304/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7 |
|
| https://github.com/matplotlib/matplotlib/pull/27304/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |