You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOC: change inheritance diagram to get all Artists
There is probably a better way to get this, but this is effective.
Code used to generate this list:
def _recursive_subclasses(cls):
"Return all subclasses (and their subclasses, etc.)."
# Source: http://stackoverflow.com/a/3862957/1221924
return (cls.__subclasses__() +
[g for s in cls.__subclasses__() for g in _recursive_subclasses(s)])
' '.join(sorted(['.'.join((_.__module__, _.__name__)) for _ in _recursive_subclasses(matplotlib.artist.Artist)]))
0 commit comments