Remove isinstance() calls in mpl.styles.use().