Title: Inconsistent eager vs delayed resolution of Cn in plot() · Issue #12967 · matplotlib/matplotlib · GitHub
Open Graph Title: Inconsistent eager vs delayed resolution of Cn in plot() · Issue #12967 · matplotlib/matplotlib
X Title: Inconsistent eager vs delayed resolution of Cn in plot() · Issue #12967 · matplotlib/matplotlib
Description: from pylab import * plt.plot([1, 2], "C0") plt.plot([2, 3], c="C0") rcParams["axes.prop_cycle"] = cycler(color=["r", "g", "b"]) show() The first call to plot() resolves the color eagerly, the second one resolves it lazily (which I think ...
Open Graph Description: from pylab import * plt.plot([1, 2], "C0") plt.plot([2, 3], c="C0") rcParams["axes.prop_cycle"] = cycler(color=["r", "g", "b"]) show() The first call to plot() resolves the color eagerly, the secon...
X Description: from pylab import * plt.plot([1, 2], "C0") plt.plot([2, 3], c="C0") rcParams["axes.prop_cycle"] = cycler(color=["r", "g", "b"]) show() Th...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12967
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent eager vs delayed resolution of Cn in plot()","articleBody":"```\r\nfrom pylab import *\r\n\r\nplt.plot([1, 2], \"C0\")\r\nplt.plot([2, 3], c=\"C0\")\r\nrcParams[\"axes.prop_cycle\"] = cycler(color=[\"r\", \"g\", \"b\"])\r\nshow()\r\n```\r\n\r\n\r\nThe first call to plot() resolves the color eagerly, the second one resolves it lazily (which I think is the intended behavior).\r\n\r\nmpl master (~3.0.x)","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2018-12-10T08:00:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/12967/matplotlib/issues/12967"}
| 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:9e8b3884-3243-320f-8bc0-1519a67d9f8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A768:1A6FEB:21F1518:2E6175D:6A542584 |
| html-safe-nonce | 55ca1306cb19b379e2087d3a688eadb9d807b42c400ea647041c5c8029b1c7c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY4OjFBNkZFQjoyMUYxNTE4OjJFNjE3NUQ6NkE1NDI1ODQiLCJ2aXNpdG9yX2lkIjoiMTMzOTc1ODQ1OTI4MjAwNzQyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 548ba90a45f0e1f2e8b603c80a3b03c1d40aa3ece47e292a49c5ae9389d95cd2 |
| hovercard-subject-tag | issue:389182064 |
| 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/12967/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9957132afe85ad824d709cd9f72b2a76bda3685723cc7ce1dff04f3f2cc9503f/matplotlib/matplotlib/issues/12967 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9957132afe85ad824d709cd9f72b2a76bda3685723cc7ce1dff04f3f2cc9503f/matplotlib/matplotlib/issues/12967 |
| og:image:alt | from pylab import * plt.plot([1, 2], "C0") plt.plot([2, 3], c="C0") rcParams["axes.prop_cycle"] = cycler(color=["r", "g", "b"]) show() The first call to plot() resolves the color eagerly, the secon... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width