View class hierarchy as a class diagram
PyCharm helps you view the complete hierarchy of the selected type.
In doing so, you can modify the contents of the UML Class diagram, to show ancestor or descendant classes, types used in method signatures, and perform all actions that are available for UML Class diagrams.
To view class hierarchy as a UML Class diagram
Open the desired class in the editor, and place the caret at the type you want to see hierarchy for.
Do one of the following:
From the context menu, point to, and then choose , or
Press Ctrl+Shift+Alt+U or Ctrl+Alt+U