To enhance the inheritance in the class diagram
Viewing the inherited properties in the sub class
Leonardo Pessoa commented
I believe this is not the intent with UML. Perhaps that could be done only when you put an inherited class on another diagram where you don't have the superclass. Anyway, this should be completely optional, like showing or hiding attributes and operations per class per diagram.