I ran Seaborn earlier, and it was working well. After a month, I ran the same code, which showed the following error:
AttributeError: module 'matplotlib.cm' has no attribute 'register_cmap'. I try installing the Seaborn package and some more updates. It's not working with the same error. The error occurs explicitly while importing the seaborn library, not for matplotlib (matplot is working for other codes), but the same error occurs for another library (i.e. pingouin, etc.).
I ran Seaborn earlier, and it was working well. After a month, I ran the same code, which showed the following error: AttributeError: module 'matplotlib.cm' has no attribute 'register_cmap'. I try installing the Seaborn package and some more updates. It's not working with the same error. The error occurs explicitly while importing the seaborn library, not for matplotlib (matplot is working for other codes), but the same error occurs for another library (i.e. pingouin, etc.).