Title: [ENH]: add path.sketch.{scale, length, randomness, seed} rcParams · Issue #27318 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: add path.sketch.{scale, length, randomness, seed} rcParams · Issue #27318 · matplotlib/matplotlib
X Title: [ENH]: add path.sketch.{scale, length, randomness, seed} rcParams · Issue #27318 · matplotlib/matplotlib
Description: Problem Looking at #25796 and #26854, it might be helpful to be able to independently set the different parts of sketch and not just as a tuple. This is motivated by wanting to make plt.xkcd discouraged and wanting the cleanest alternati...
Open Graph Description: Problem Looking at #25796 and #26854, it might be helpful to be able to independently set the different parts of sketch and not just as a tuple. This is motivated by wanting to make plt.xkcd discou...
X Description: Problem Looking at #25796 and #26854, it might be helpful to be able to independently set the different parts of sketch and not just as a tuple. This is motivated by wanting to make plt.xkcd discou...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: add path.sketch.{scale, length, randomness, seed} rcParams","articleBody":"### Problem\n\nLooking at #25796 and #26854, it might be helpful to be able to independently set the different parts of sketch and not just as a tuple. This is motivated by wanting to make `plt.xkcd` discouraged and wanting the cleanest alternative for passing in the sketch params. \r\n\n\n### Proposed solution\n\n\r\n#25796 moves in this direction by allowing both\r\n\r\n```python\r\n\r\nmpl.rcParams['path.sketch'] = (scale, length, randomness, seed)\r\nmpl.rcParams[`path.sketch_seed'] = seed\r\n\r\n```\r\n\r\nand if we're OK w/ the other parameters getting their own rcParams then they can have a unified naming scheme. Alternatively, we can probably do the parsing so ``None = default`` but I don't like having to remember which position is which param. ","author":{"url":"https://github.com/story645","@type":"Person","name":"story645"},"datePublished":"2023-11-13T22:29:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/27318/matplotlib/issues/27318"}
| 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:92f37977-846d-4dea-d145-f265d49eb76e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AE2:1EBB28:8A25:B3DF:6A524B26 |
| html-safe-nonce | 7baaa91b0eb8cd8399b61c7afc7e5f0f7b8d571985cdec5a7d7e58c056455425 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUUyOjFFQkIyODo4QTI1OkIzREY6NkE1MjRCMjYiLCJ2aXNpdG9yX2lkIjoiNDcwNjAxMzYyMDk3NDI3NTM2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 24bc411d4e26a55213affcba2de476bddc53e94ea9621eefa4a03ea8479e9492 |
| hovercard-subject-tag | issue:1991592907 |
| 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/27318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7233e523126bb0ba01f84b67790edcfe934f71e0469b679090aad86b270fe6e3/matplotlib/matplotlib/issues/27318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7233e523126bb0ba01f84b67790edcfe934f71e0469b679090aad86b270fe6e3/matplotlib/matplotlib/issues/27318 |
| og:image:alt | Problem Looking at #25796 and #26854, it might be helpful to be able to independently set the different parts of sketch and not just as a tuple. This is motivated by wanting to make plt.xkcd discou... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | story645 |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width