Title: Init calls subclass method pattern · Issue #12220 · matplotlib/matplotlib · GitHub
Open Graph Title: Init calls subclass method pattern · Issue #12220 · matplotlib/matplotlib
X Title: Init calls subclass method pattern · Issue #12220 · matplotlib/matplotlib
Description: We have a lot of places with the init-calls-subclass pattern. This cause problems if the subclass method relies on subclass attributes that have not yet been set up. I actually ran into the issue in #12215. Has anyone encountered this be...
Open Graph Description: We have a lot of places with the init-calls-subclass pattern. This cause problems if the subclass method relies on subclass attributes that have not yet been set up. I actually ran into the issue i...
X Description: We have a lot of places with the init-calls-subclass pattern. This cause problems if the subclass method relies on subclass attributes that have not yet been set up. I actually ran into the issue i...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12220
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Init calls subclass method pattern","articleBody":"We have [a lot of places](https://lgtm.com/projects/g/matplotlib/matplotlib/alerts/?mode=list\u0026rule=py%2Finit-calls-subclass) with the [init-calls-subclass pattern](https://lgtm.com/rules/10030085/). \r\n\r\nThis cause problems if the subclass method relies on subclass attributes that have not yet been set up.\r\n\r\nI actually ran into the issue in #12215.\r\n\r\n- Has anyone encountered this before?\r\n- Do we have a strategy how to avoid this issue?\r\n\r\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2018-09-22T22:18:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/12220/matplotlib/issues/12220"}
| 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:f64ffdac-bdfc-d2f8-c2ed-752fa0208ce9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A148:C6215:62AC04:8A3F81:6A5126D9 |
| html-safe-nonce | 50c269473291e6ca34cc9c4003f0cc695c331a5f28466f368f22f91c30184df0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTQ4OkM2MjE1OjYyQUMwNDo4QTNGODE6NkE1MTI2RDkiLCJ2aXNpdG9yX2lkIjoiNTg3NzA1ODY5MzU2OTI1OTIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4b2555953c08ec78e586c12ed7e9b250a3a74088db0866c493c7605c5db59f2a |
| hovercard-subject-tag | issue:362895284 |
| 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/12220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4dbe9ab5457321d4f409166edec4e77e1700219ac33e92e342470e56ae34eb5e/matplotlib/matplotlib/issues/12220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4dbe9ab5457321d4f409166edec4e77e1700219ac33e92e342470e56ae34eb5e/matplotlib/matplotlib/issues/12220 |
| og:image:alt | We have a lot of places with the init-calls-subclass pattern. This cause problems if the subclass method relies on subclass attributes that have not yet been set up. I actually ran into the issue i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b |
| 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 | 942b51ed3bd5feee3d5e2719f890a5fe286edbbb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width