Title: Fully save all GraphicsContext variables for MacOS backend by cimarronm · Pull Request #4202 · matplotlib/matplotlib · GitHub
Open Graph Title: Fully save all GraphicsContext variables for MacOS backend by cimarronm · Pull Request #4202 · matplotlib/matplotlib
X Title: Fully save all GraphicsContext variables for MacOS backend by cimarronm · Pull Request #4202 · matplotlib/matplotlib
Description: Modifies the save/restore graphics context of the MacOS backend to fully save all GraphicsContext variables to a stack for the GraphicsContextMac class. Currently, the graphics context is saved to the stack in the underlying _macosx.so backend but the variables associated with the context from the GraphicsContextBase are not saved/restored so the corresponding GraphicsContext class is not in sync with the actual graphic context. This saves these variables to a stack so they are in sync. This fixes the issue seen in #4024 (PR #4201 must also be applied to fully fix #4024). Below is the example from issue #4024 before and after. Before After
Open Graph Description: Modifies the save/restore graphics context of the MacOS backend to fully save all GraphicsContext variables to a stack for the GraphicsContextMac class. Currently, the graphics context is saved to ...
X Description: Modifies the save/restore graphics context of the MacOS backend to fully save all GraphicsContext variables to a stack for the GraphicsContextMac class. Currently, the graphics context is saved to ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/4202
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:be4a0ae4-fbbe-63ce-dea6-9df92eb5132f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE72:1A5270:34797E:456F14:6A52F2AE |
| html-safe-nonce | cb3bcd3f8bc8b9b4065c481dccf3f9be652360986e50e17e31f1e0283ca06f31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTcyOjFBNTI3MDozNDc5N0U6NDU2RjE0OjZBNTJGMkFFIiwidmlzaXRvcl9pZCI6IjI3Mjk1MjQzNDYyODg3OTYzMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e084ae65dfc127727cf5dcadfe5395e2a171643a804447ea03e09ae2ee4340f7 |
| hovercard-subject-tag | pull_request:30715012 |
| 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/4202/files |
| twitter:image | https://avatars.githubusercontent.com/u/1505899?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1505899?s=400&v=4 |
| og:image:alt | Modifies the save/restore graphics context of the MacOS backend to fully save all GraphicsContext variables to a stack for the GraphicsContextMac class. Currently, the graphics context is saved to ... |
| 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 |
| 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