AttributeError:‘AxesSubplot’object has no attribute‘bar_label’

Question:

Using bar in Matplotlib_ An error was encountered in the label function:
attributeerror: 'axessubplot' object has no attribute 'bar_ label'

resolvent:

Because the version of Matplotlib is too low, you need to reinstall Matplotlib (enter the following command in the console)

① Uninstall Matplotlib

conda uninstall matplotlib

② Download again

pip install matplotlib

Read More: