Title: The axes module structure · Issue #11445 · matplotlib/matplotlib · GitHub
Open Graph Title: The axes module structure · Issue #11445 · matplotlib/matplotlib
X Title: The axes module structure · Issue #11445 · matplotlib/matplotlib
Description: This is a question or feature request. I have looked into the documentation and believe that some problems is the result of the axes folder and its structure. I am not sure what is supposed to be automatic and what is not in sphinx but a...
Open Graph Description: This is a question or feature request. I have looked into the documentation and believe that some problems is the result of the axes folder and its structure. I am not sure what is supposed to be a...
X Description: This is a question or feature request. I have looked into the documentation and believe that some problems is the result of the axes folder and its structure. I am not sure what is supposed to be a...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11445
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The axes module structure","articleBody":"This is a question or feature request. \r\n\r\nI have looked into the documentation and believe that some problems is the result of the axes folder and its structure. I am not sure what is supposed to be automatic and what is not in sphinx but `axes.SubplotBase` is for example not included in the documentation even though most `axes` used in matplotlib are probably of that class.\r\n\r\n`.. automodule:: matplotlib.axes` does not work even though `Axes` and `SubplotBase` exist in that module.\r\n`.. automodule:: matplotlib.axes._subplots` works as I would expect but the paths are wrong.\r\n\r\n`from matplotlib.axes import SubplotBase, Axes` works but the class of actual objects are using the full path, for example `matplotlib.axes._subplots.AxesSubplot` \r\n\r\nI don't know much of module structures or module aliases but I think it is kind of inconvenient when different paths are used in different places and I believe that more work than needed is necessary to write the documentation correctly. See for example #11443.\r\n\r\nIs it possibly to get a module structure such that the `obj.__class__` path is the same as the alias path, i.e. `axes.Axes` is always used instead of `axes._axes.Axes`? \r\n","author":{"url":"https://github.com/fredrik-1","@type":"Person","name":"fredrik-1"},"datePublished":"2018-06-16T10:59:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/11445/matplotlib/issues/11445"}
| 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:58be79d2-0684-bb5c-9f53-536fae6042ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C742:51AE:91B681:C4F078:6A530E9C |
| html-safe-nonce | c6310e07ef7940630366d8768b4b70bca0332173788ea37fff15c8ecba6ae130 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzQyOjUxQUU6OTFCNjgxOkM0RjA3ODo2QTUzMEU5QyIsInZpc2l0b3JfaWQiOiIzODQ1NTY1MjgwMjU3NTExMDY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d097add24d9dbda0fcfcd3eb2432d79639c3e77f3e0ad834bfcdce1fc835f67b |
| hovercard-subject-tag | issue:332979482 |
| 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/11445/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9fd332fbb91591b6395288e8440d01fd88c585ebeead63ec909dd76987e4a2a0/matplotlib/matplotlib/issues/11445 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fd332fbb91591b6395288e8440d01fd88c585ebeead63ec909dd76987e4a2a0/matplotlib/matplotlib/issues/11445 |
| og:image:alt | This is a question or feature request. I have looked into the documentation and believe that some problems is the result of the axes folder and its structure. I am not sure what is supposed to be a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fredrik-1 |
| 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