Title: Lower Text's FontProperties priority when updating by omarchehab98 · Pull Request #16694 · matplotlib/matplotlib · GitHub
Open Graph Title: Lower Text's FontProperties priority when updating by omarchehab98 · Pull Request #16694 · matplotlib/matplotlib
X Title: Lower Text's FontProperties priority when updating by omarchehab98 · Pull Request #16694 · matplotlib/matplotlib
Description: Co-authored-by: Robert Augustynowicz robert.augustynowicz@mail.utoronto.ca Closes: #16389 PR Summary When fontproperties is being used, it's default values are overwriting explicit font attributes such as size. plt.xlabel("value", fontproperties='SimHei',size=20) # this will work plt.ylabel("counts",size=20, fontproperties='SimHei') # this doesn't Before After PR Checklist Has Pytest style unit tests Code is Flake 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there) Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: Co-authored-by: Robert Augustynowicz robert.augustynowicz@mail.utoronto.ca Closes: #16389 PR Summary When fontproperties is being used, it's default values are overwriting explicit font attribu...
X Description: Co-authored-by: Robert Augustynowicz robert.augustynowicz@mail.utoronto.ca Closes: #16389 PR Summary When fontproperties is being used, it's default values are overwriting explicit font att...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/16694
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c930fe01-bd83-c934-e030-7237866d7435 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB22:6E56C:135F007:19D4CCF:6A542A9B |
| html-safe-nonce | 938448ed41bc7dc0d3046bc5bc03e5a50c661e5304284d68b4bd33cc50b17a93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjIyOjZFNTZDOjEzNUYwMDc6MTlENENDRjo2QTU0MkE5QiIsInZpc2l0b3JfaWQiOiI4MDEyNTA1Nzk0NTA2NjY0NjAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 64f341bacc9b8cd708cd952a7d7975c17952357c9e6e4801c8aa55f6dfade62c |
| hovercard-subject-tag | pull_request:384645507 |
| 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/16694/files |
| twitter:image | https://avatars.githubusercontent.com/u/12089120?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12089120?s=400&v=4 |
| og:image:alt | Co-authored-by: Robert Augustynowicz robert.augustynowicz@mail.utoronto.ca Closes: #16389 PR Summary When fontproperties is being used, it's default values are overwriting explicit font attribu... |
| 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