我想根据“种类”值绘制一个圆形区域。 怎么办?
import pandas as pd
import matplotlib.pyplot as plt
df = pd.DataFrame([[5.1, 3.5, 0], [4.9, 3.0, 0], [7.0, 3.2, 1],[6.4, 3.2, 1], [5.9, 3.0, 2]],columns=['length', 'width', 'species'])
ax1 = df.plot.scatter(x='length',y='width',c='species',colormap='viridis')
plt.grid()
plt.show()