MAINT: update inheritance diagram extension

closes https://github.com/matplotlib/sampledoc/issues/7