Title: [Bug]: Font kwargs for pyplot.title only work in certain order · Issue #27608 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Font kwargs for pyplot.title only work in certain order · Issue #27608 · matplotlib/matplotlib
X Title: [Bug]: Font kwargs for pyplot.title only work in certain order · Issue #27608 · matplotlib/matplotlib
Description: Bug summary If font and font_size kwargs are passed into pyplot.title, kwargs have to be passed in in a certain order to work Code for reproduction pyplot.title("foo", font="Times New Roman", fontsize=20) # this works - font size is chan...
Open Graph Description: Bug summary If font and font_size kwargs are passed into pyplot.title, kwargs have to be passed in in a certain order to work Code for reproduction pyplot.title("foo", font="Times New Roman", fonts...
X Description: Bug summary If font and font_size kwargs are passed into pyplot.title, kwargs have to be passed in in a certain order to work Code for reproduction pyplot.title("foo", font="Times Ne...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27608
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Font kwargs for pyplot.title only work in certain order","articleBody":"### Bug summary\n\nIf font and font_size kwargs are passed into pyplot.title, kwargs have to be passed in in a certain order to work\r\n\r\n\n\n### Code for reproduction\n\n```python\npyplot.title(\"foo\", font=\"Times New Roman\", fontsize=20) # this works - font size is changed to 20\r\npyplot.title(\"foo\", fontsize=20, font=\"Times New Roman\") # this doesn't work - font size remains at ~8 or 10\n```\n\n\n### Actual outcome\n\nTitle font size remains at ~ 8 or 10\n\n### Expected outcome\n\nTitle font size changed to value passed in with fontsize argument\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nWindows\n\n### Matplotlib Version\n\n3.8.2\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n3.12.0\n\n### Jupyter version\n\nJupyter IPython version: 8.19.0\n\n### Installation\n\npip","author":{"url":"https://github.com/snavidi","@type":"Person","name":"snavidi"},"datePublished":"2024-01-07T02:55:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/27608/matplotlib/issues/27608"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7a3269fb-4178-28a2-7cd7-8b84eddd9c31 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A5C:1F7C65:154A606:1CF19AE:6A5461E6 |
| html-safe-nonce | ccc1cc4ad164319b4954962f435869b4920b55b7b727e4e54c9ff394b62ad00e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTVDOjFGN0M2NToxNTRBNjA2OjFDRjE5QUU6NkE1NDYxRTYiLCJ2aXNpdG9yX2lkIjoiMzM4NzUxOTUzNjg0NDIzMTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ed733a08386dc092339ef3bebd4d9fbdcbdd86fe808d7ac2652b4d604c07bdb |
| hovercard-subject-tag | issue:2068942078 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/27608/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a6d39bff8e04f9374a56a8c459f2749c9371e4ad99e3f719b165272df5b1357b/matplotlib/matplotlib/issues/27608 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a6d39bff8e04f9374a56a8c459f2749c9371e4ad99e3f719b165272df5b1357b/matplotlib/matplotlib/issues/27608 |
| og:image:alt | Bug summary If font and font_size kwargs are passed into pyplot.title, kwargs have to be passed in in a certain order to work Code for reproduction pyplot.title("foo", font="Times New Roman", fonts... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snavidi |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width