How to resolve <ImportError: cannot import name 'artist' from 'matplotlib'>

ImportError: cannot import name ‘artist’ from ‘matplotlib’ (C:\Users\Shikhar Shrivastava\AppData\Roaming\Python\Python39\site-packages\matplotlib_init_.py)