Title: [ENH]: `Axes.plot` typing · Issue #31480 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: `Axes.plot` typing · Issue #31480 · matplotlib/matplotlib
X Title: [ENH]: `Axes.plot` typing · Issue #31480 · matplotlib/matplotlib
Description: Problem I have the impression that Axes.plot typing is incomplete. matplotlib/lib/matplotlib/axes/_axes.pyi Line 204 in a7fc902 def plot( Using basedpyright, I get a reportUnknownMemberType diagnostic on a simple ax.plot call. Is that lo...
Open Graph Description: Problem I have the impression that Axes.plot typing is incomplete. matplotlib/lib/matplotlib/axes/_axes.pyi Line 204 in a7fc902 def plot( Using basedpyright, I get a reportUnknownMemberType diagnos...
X Description: Problem I have the impression that Axes.plot typing is incomplete. matplotlib/lib/matplotlib/axes/_axes.pyi Line 204 in a7fc902 def plot( Using basedpyright, I get a reportUnknownMemberType diagnos...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31480
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: `Axes.plot` typing","articleBody":"### Problem\n\nI have the impression that `Axes.plot` typing is incomplete.\n\nhttps://github.com/matplotlib/matplotlib/blob/a7fc9027086c6e2723e23ac6536153162bf70450/lib/matplotlib/axes/_axes.pyi#L204\n\nUsing basedpyright, I get a `reportUnknownMemberType` diagnostic on a simple `ax.plot` call.\nIs that logic giving the current status of stubs definitions ? Or am I possibly doing something wrong ?\nIf typing is truly missing, is there a recommended workaround instead of just ignoring it ? `plot` is a well-known matplotlib function, so I'm surprised it might not be typed yet.\n\n### Proposed solution\n\n_No response_","author":{"url":"https://github.com/wilgri","@type":"Person","name":"wilgri"},"datePublished":"2026-04-09T11:27:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/31480/matplotlib/issues/31480"}
| 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:0d377810-65b8-a687-178f-d6a148d95be1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91CE:153E3D:112AA8B:1768304:6A522A30 |
| html-safe-nonce | 6e9992052eff2fe2351a6370b0fa68f9e8850d0826a82d3005614fffcacf0cb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUNFOjE1M0UzRDoxMTJBQThCOjE3NjgzMDQ6NkE1MjJBMzAiLCJ2aXNpdG9yX2lkIjoiODgxNDI1MTc5MzUzMTkzOTM3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033799d69f76bb4bfb075bb063c97df99c7ccd38a0552c504f9d50fe76ac3f42 |
| hovercard-subject-tag | issue:4231796940 |
| 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/31480/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6e9eb0a8e855e3eb33fad84f02ddc0fd3f2a91957e0fd399a16373bbd491cf82/matplotlib/matplotlib/issues/31480 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e9eb0a8e855e3eb33fad84f02ddc0fd3f2a91957e0fd399a16373bbd491cf82/matplotlib/matplotlib/issues/31480 |
| og:image:alt | Problem I have the impression that Axes.plot typing is incomplete. matplotlib/lib/matplotlib/axes/_axes.pyi Line 204 in a7fc902 def plot( Using basedpyright, I get a reportUnknownMemberType diagnos... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wilgri |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width