fig, ax = plt.subplots(figsize=(20,6))
ax = dados['consumo'].plot()
AttributeError Traceback (most recent call last) in ----> 1 fig, ax = plt.subplots(figsize=(20,6)) 2 3 ax = dados['consumo'].plot()
AttributeError: module 'matplotlib' has no attribute 'subplots'