Title: [ISSUE]: The iterator ''prop_cycler'' is removed from ax._get_lines after v3.8 · Issue #26831 · matplotlib/matplotlib · GitHub
Open Graph Title: [ISSUE]: The iterator ''prop_cycler'' is removed from ax._get_lines after v3.8 · Issue #26831 · matplotlib/matplotlib
X Title: [ISSUE]: The iterator ''prop_cycler'' is removed from ax._get_lines after v3.8 · Issue #26831 · matplotlib/matplotlib
Description: Bug summary I used to access the color cycle iterator for a given axes object (ax) through the _get_lines helper class instance. However, it becomes an error after v3.8. Is there another way to get the state of the iterator? It was usefu...
Open Graph Description: Bug summary I used to access the color cycle iterator for a given axes object (ax) through the _get_lines helper class instance. However, it becomes an error after v3.8. Is there another way to get...
X Description: Bug summary I used to access the color cycle iterator for a given axes object (ax) through the _get_lines helper class instance. However, it becomes an error after v3.8. Is there another way to get...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26831
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ISSUE]: The iterator ''prop_cycler'' is removed from ax._get_lines after v3.8","articleBody":"### Bug summary\n\nI used to access the color cycle iterator for a given axes object (ax) through the _get_lines helper class instance.\r\nHowever, it becomes an error after v3.8. Is there another way to get the state of the iterator? It was useful to set the line colors automatically for axis spines.\n\n### Code for reproduction\n\n```python\nax_in._get_lines.prop_cycler = ax._get_lines.prop_cycler\n```\n\n\n### Actual outcome\n\nAttributeError: '_process_plot_var_args' object has no attribute 'prop_cycler'\n\n### Expected outcome\n\nGet the color cycler iterator and assign it to another axis spine\n\n### Additional information\n\n_No response_\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\n3.8\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/JouleCai","@type":"Person","name":"JouleCai"},"datePublished":"2023-09-19T20:25:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/26831/matplotlib/issues/26831"}
| 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:d53bab9f-c613-6090-d24b-fb2625bb5eea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED38:2D523B:B8D6A5:F99847:6A531CDC |
| html-safe-nonce | fe67998abf7b843dac0871e29a0bb1365bb70ec3a1559541de0673cd255bc0b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDM4OjJENTIzQjpCOEQ2QTU6Rjk5ODQ3OjZBNTMxQ0RDIiwidmlzaXRvcl9pZCI6IjUwNjkzOTAwNjc3ODY3ODM5NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a239c6c97e0b103d8dfb3d3e4d0142c89c125925ee993e8a8016e2bb41444613 |
| hovercard-subject-tag | issue:1903676455 |
| 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/26831/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5296ca24edc1824e51ce537342a2247e0d5cfe099252458dfa13e8910f0845b5/matplotlib/matplotlib/issues/26831 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5296ca24edc1824e51ce537342a2247e0d5cfe099252458dfa13e8910f0845b5/matplotlib/matplotlib/issues/26831 |
| og:image:alt | Bug summary I used to access the color cycle iterator for a given axes object (ax) through the _get_lines helper class instance. However, it becomes an error after v3.8. Is there another way to get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JouleCai |
| 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