Title: Style RC parameter by Mrngilles · Pull Request #4240 · matplotlib/matplotlib · GitHub
Open Graph Title: Style RC parameter by Mrngilles · Pull Request #4240 · matplotlib/matplotlib
X Title: Style RC parameter by Mrngilles · Pull Request #4240 · matplotlib/matplotlib
Description: Added a style RC parameter to be able to import styles from stylesheet or matplotlibrc. You can call a parent stylesheet using the following syntax in your matplotlibrc or a stylesheet: 'style : chosen_style' if the style is in the library (built-in styles or a style put in your user config path 'style : path/to/style' to get a style from anywhere. I also added a test to make sure we get the good rcParameters when calling parent styles. For that, I added sample stylesheets in the sample_data parameter, that form the same tree as the one seen in the get_style_parameters function. It should cover every possible override possible. Priority order remark : When calling styles this way, the first ones will have the highest priority. Todo: Breakdown in smaller functions to follow the flow more easily
Open Graph Description: Added a style RC parameter to be able to import styles from stylesheet or matplotlibrc. You can call a parent stylesheet using the following syntax in your matplotlibrc or a stylesheet: 'style ...
X Description: Added a style RC parameter to be able to import styles from stylesheet or matplotlibrc. You can call a parent stylesheet using the following syntax in your matplotlibrc or a stylesheet: 'st...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/4240
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:72cacbc1-8061-1c7e-ed82-f6877ca6c268 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4E0:FAECF:1431A50:1AD2AF5:6A52ADAA |
| html-safe-nonce | cf68b4432f6078644110c15c2e5df230fea939b8b65359c7e3c81d81fc722623 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEUwOkZBRUNGOjE0MzFBNTA6MUFEMkFGNTo2QTUyQURBQSIsInZpc2l0b3JfaWQiOiI2MTUzMzIwNjQ5NDI5NTI3OTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3a89dc92bc4fe28a28bedc10ad06b1be9e12e3b9cad2e9bb06c7919182774cc1 |
| hovercard-subject-tag | pull_request:31414853 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/4240/files |
| twitter:image | https://avatars.githubusercontent.com/u/6099267?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6099267?s=400&v=4 |
| og:image:alt | Added a style RC parameter to be able to import styles from stylesheet or matplotlibrc. You can call a parent stylesheet using the following syntax in your matplotlibrc or a stylesheet: 'style ... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width