module ‘matplotlib‘ has no attribute ‘colormaps‘
module 'matplotlib' has no attribute 'colormaps'
解决方法:
pip install matplotlib==3.7.3
测试命令:
python -c "import matplotlib;cmap = matplotlib.colormaps['Oranges']"
module 'matplotlib' has no attribute 'colormaps'
pip install matplotlib==3.7.3
测试命令:
python -c "import matplotlib;cmap = matplotlib.colormaps['Oranges']"