Olá, tudo bem?
Quando digito este comando no colab
df_preco_tipo.plot(kind = 'barh', figsize = (14,10), color = 'purple')
aparece o erro abaixo. O que eu fiz de errado?
AttributeError Traceback (most recent call last)
/tmp/ipython-input-4134980180.py in <cell line: 0>()
----> 1 df_preco_tipo.plot(kind = 'barh', figsize = (14,10), color = 'purple')
24 frames
properties.pyx in pandas._libs.properties.CachedProperty.get()
properties.pyx in pandas._libs.properties.CachedProperty.get()
/usr/local/lib/python3.12/dist-packages/matplotlib_inline/backend_inline.py in _enable_matplotlib_integration()
216 backend = matplotlib.get_backend(auto_select=False)
217 else:
--> 218 backend = matplotlib.rcParams._get("backend")
219
220 if ip and backend in ("inline", "module://matplotlib_inline.backend_inline"):
AttributeError: 'RcParams' object has no attribute '_get'