I'm running a pie plot and the plot work but it will raise an error. im net to matplotlib so how should i fix this
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
df = pd.DataFrame(3 * np.random.rand(4, 2), index=['a', 'b', 'c', 'd'])
df.plot.pie(subplots=True, figsize=(15, 8))
plt.show()
and the error is :
MatplotlibDeprecationWarning:
The colNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later. Use ax.get_subplotspec().colspan.start instead.
if not layout[ax.rowNum + 1, ax.colNum]: