Title: Fix #5917. New dash patterns. Scale dashes by lw by mdboom · Pull Request #5926 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix #5917. New dash patterns. Scale dashes by lw by mdboom · Pull Request #5926 · matplotlib/matplotlib
X Title: Fix #5917. New dash patterns. Scale dashes by lw by mdboom · Pull Request #5926 · matplotlib/matplotlib
Description: This changes the dash patterns as suggested by @njsmith in #5917. The "standard" 3 dash patterns are no longer hardcoded, but are not settable from rcParams. Dash patterns are now scaled by the linewidth, unless running in "classic compatibility mode". As suggested by #5917 (comment), scaling by linewidth is not applied when the linewidth gets small. I'm just doing scale = max(1, linewidth) as a function there, but we could be more clever if we wanted to. The following shows the scaling by linewidth. The macosx backend will need special updates to support scaling by linewidth, which I think is best done after a first round of comments here.
Open Graph Description: This changes the dash patterns as suggested by @njsmith in #5917. The "standard" 3 dash patterns are no longer hardcoded, but are not settable from rcParams. Dash patterns are now scaled ...
X Description: This changes the dash patterns as suggested by @njsmith in #5917. The "standard" 3 dash patterns are no longer hardcoded, but are not settable from rcParams. Dash patterns are now...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/5926
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6f9b29e2-7b45-25fd-734c-aabe588caaff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5D4:26AD97:1D589F9:270ED8B:6A52D99C |
| html-safe-nonce | b9ac1b670adca9a6afd9d98b341cb621c21923cf87b23fe90521f9657e6200ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUQ0OjI2QUQ5NzoxRDU4OUY5OjI3MEVEOEI6NkE1MkQ5OUMiLCJ2aXNpdG9yX2lkIjoiNzk1MzA5MjE0MTgwNjQ0MjkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1da1a4830b1286a907582dea2df04ae24c6e87052e008ab6a74a91bd4e8437ea |
| hovercard-subject-tag | pull_request:57374859 |
| 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/5926/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294?s=400&v=4 |
| og:image:alt | This changes the dash patterns as suggested by @njsmith in #5917. The "standard" 3 dash patterns are no longer hardcoded, but are not settable from rcParams. Dash patterns are now scaled ... |
| 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