Skip to content

write sphinx extension to generate recursive inheritance #7182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tacaswell opened this issue Sep 26, 2016 · 2 comments
Closed

write sphinx extension to generate recursive inheritance #7182

tacaswell opened this issue Sep 26, 2016 · 2 comments

Comments

@tacaswell
Copy link
Member

tacaswell commented Sep 26, 2016

Right now, the recursive inheritence diagrams are generated manually, using the following command:

for n in sorted(list(set(dir(maxis.Axis)) - set(dir(matplotlib.artist.Artist)))): 
    print('Axis.' + n) if n[0] != '_' else None

See #7176 for more information.

@tacaswell tacaswell modified the milestone: 2.0.1 (next bug fix release) Sep 26, 2016
@NelleV NelleV changed the title write sphinx extension to generate recursive inheretince write sphinx extension to generate recursive inheritence Sep 26, 2016
@QuLogic QuLogic modified the milestones: 2.0.1 (next bug fix release), 2.0.2 (next bug fix release) May 3, 2017
@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.2 (next feature release) Oct 9, 2017
@QuLogic QuLogic changed the title write sphinx extension to generate recursive inheritence write sphinx extension to generate recursive inheritance Nov 11, 2022
@QuLogic
Copy link
Member

QuLogic commented Dec 16, 2022

I'm confused, because dir(maxis.Axis) gives you class methods, not subclasses?

@tacaswell
Copy link
Member Author

I am going to close this as I have no memory of what I was thinking and agree it makes no sense.

Maybe what I meant was "get a list of all of the unique methods on the children"? At any rate, our thinking about docs has moved on in the last 6 years....

@tacaswell tacaswell removed this from the future releases milestone Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants