Title: axhline/axvline don't use prop_cycle · Issue #14222 · matplotlib/matplotlib · GitHub
Open Graph Title: axhline/axvline don't use prop_cycle · Issue #14222 · matplotlib/matplotlib
X Title: axhline/axvline don't use prop_cycle · Issue #14222 · matplotlib/matplotlib
Description: Hi matplotlib developers, axhline and axvline do not use the prop_cycle, and it seems to me that they should. Was this intentional? import numpy as np import matplotlib.pyplot as plt from cycler import cycler fig, ax = plt.subplots() ax....
Open Graph Description: Hi matplotlib developers, axhline and axvline do not use the prop_cycle, and it seems to me that they should. Was this intentional? import numpy as np import matplotlib.pyplot as plt from cycler im...
X Description: Hi matplotlib developers, axhline and axvline do not use the prop_cycle, and it seems to me that they should. Was this intentional? import numpy as np import matplotlib.pyplot as plt from cycler im...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/14222
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"axhline/axvline don't use prop_cycle","articleBody":"Hi matplotlib developers,\r\n`axhline` and `axvline` do not use the prop_cycle, and it seems to me that they should. Was this intentional?\r\n\r\n```python\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\nfrom cycler import cycler\r\n\r\nfig, ax = plt.subplots()\r\nax.set_prop_cycle(cycler(color=['r', 'g', 'y', 'm'], ls=['--']*4))\r\nax.plot(np.arange(9))\r\nax.axhline(4) # uses default styles instead of cycler\r\nax.axvline(4) # uses default styles instead of cycler\r\nax.plot(-np.arange(9))\r\nplt.show()\r\n```\r\n\r\nTested with matplotlib 3.0.3 and python 3.7.3 (Anaconda) on Windows 10.","author":{"url":"https://github.com/u55","@type":"Person","name":"u55"},"datePublished":"2019-05-14T17:29:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/14222/matplotlib/issues/14222"}
| 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:3ade5685-ca67-71d9-b62f-600330daee1a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC24:1DB7B5:264AF8:3346AD:6A5189F9 |
| html-safe-nonce | f23b55df75d012b7981b7b3684e27bd321e2e583e42222e29ccce5bdf85a42c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzI0OjFEQjdCNToyNjRBRjg6MzM0NkFEOjZBNTE4OUY5IiwidmlzaXRvcl9pZCI6IjQyMzk2MTY0MzgyMDYxNjE4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7492f373ab8b37c020e14c130472bc24dc75163ad0e1dfa01ab08bb147bce2e7 |
| hovercard-subject-tag | issue:444037339 |
| 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/14222/issue_layout |
| twitter:image | https://opengraph.githubassets.com/622aa7b9a451df0c8fff223d8bff7adc2a817e0b5263267b79c55f980e61a08b/matplotlib/matplotlib/issues/14222 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/622aa7b9a451df0c8fff223d8bff7adc2a817e0b5263267b79c55f980e61a08b/matplotlib/matplotlib/issues/14222 |
| og:image:alt | Hi matplotlib developers, axhline and axvline do not use the prop_cycle, and it seems to me that they should. Was this intentional? import numpy as np import matplotlib.pyplot as plt from cycler im... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | u55 |
| 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 | cb77a7b8b06cd86c243be33fd8e7922d70a9d243 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width