Title: Change return type get_{x,y}ticklabels to plain list · Issue #16885 · matplotlib/matplotlib · GitHub
Open Graph Title: Change return type get_{x,y}ticklabels to plain list · Issue #16885 · matplotlib/matplotlib
X Title: Change return type get_{x,y}ticklabels to plain list · Issue #16885 · matplotlib/matplotlib
Description: Its fairly often that I use get_xticklabels and other similar methods when exploring and visualizing data with matplotlib. I almost always use list(ax.get_xticklabels()) or ax.get_xticklabels()[0] to view. When teaching, it's also much n...
Open Graph Description: Its fairly often that I use get_xticklabels and other similar methods when exploring and visualizing data with matplotlib. I almost always use list(ax.get_xticklabels()) or ax.get_xticklabels()[0] ...
X Description: Its fairly often that I use get_xticklabels and other similar methods when exploring and visualizing data with matplotlib. I almost always use list(ax.get_xticklabels()) or ax.get_xticklabels()[0] ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/16885
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change return type get_{x,y}ticklabels to plain list","articleBody":"Its fairly often that I use `get_xticklabels` and other similar methods when exploring and visualizing data with matplotlib. I almost always use `list(ax.get_xticklabels())` or `ax.get_xticklabels()[0]` to view. When teaching, it's also much nicer to be able to see some of the labels without this workaround. One of the main purposes of the getter methods is to actually see a nice underlying representation of the object.\r\n\r\nI see from the docstrings that the purpose of `silent_list` is to silence the repr, but perhaps this can change. `get_xticks` returns an array. `get_lines` and `get_labels` return a silent list.\r\n\r\nIs the silent list even necessary?","author":{"url":"https://github.com/tdpetrou","@type":"Person","name":"tdpetrou"},"datePublished":"2020-03-23T17:46:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/16885/matplotlib/issues/16885"}
| 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:ca1e547d-c122-2f9e-fd6e-e70e6aed0883 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0B4:24C70E:1797708:1FF9FAD:6A546D98 |
| html-safe-nonce | c5590cac94c0e5c4546990658be9ee29e096a9db3df8da93945b869cec3c5a9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEI0OjI0QzcwRToxNzk3NzA4OjFGRjlGQUQ6NkE1NDZEOTgiLCJ2aXNpdG9yX2lkIjoiMjY5MjkxNTc5NzQwNDQ0NjEwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b665a96df76ad7ca9bb688a7dc6b7ad45f7ba2fa6ea7adb9e0bc2f7b082596e1 |
| hovercard-subject-tag | issue:586399540 |
| 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/16885/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8467a37f613ef01c8c98e8b511fa7ae6d813c26c4fc525fd429b49e21fcc6ef5/matplotlib/matplotlib/issues/16885 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8467a37f613ef01c8c98e8b511fa7ae6d813c26c4fc525fd429b49e21fcc6ef5/matplotlib/matplotlib/issues/16885 |
| og:image:alt | Its fairly often that I use get_xticklabels and other similar methods when exploring and visualizing data with matplotlib. I almost always use list(ax.get_xticklabels()) or ax.get_xticklabels()[0] ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tdpetrou |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width