I get the following error when I want to import matplotlib.pyplot on the Visual Studio's jupyter-notebook.
---------------------------------------------------------------------------AttributeError Traceback (most recent call last) in ----> 1 import matplotlib.pyplot as plt~/miniconda3/envs/firstSteps/lib/python3.8/site-packages/matplotlib/__init__.py in 903 # triggering resolution of _auto_backend_sentinel. 904 rcParamsDefault = _rc_params_in_file(--> 905 cbook._get_data_path("matplotlibrc"), 906 # Strip leading comment. 907 transform=lambda line: line[1:] if line.startswith("#") else line,~/.local/lib/python3.8/site-packages/matplotlib/cbook/__init__.py in _get_data_path(*args)AttributeError: module 'matplotlib' has no attribute 'get_data_path'
But I don't have this error if I try the same code on the navigator's jupyter-notebook.So I don't understand why I get this error since both notebook are running under the same kernel which have the matplotlib 3.3.1 version installed on.
I would be grateful if someone can give me any enlightenment. :)