我哪里做错了?我来解决plt.figure(figsize = (15,10))
sns.jointplot(data.radius_mean,data.area_mean,kind="reg") plt.show()
TypeError Traceback (most recent call last)
<ipython-input-34-3a368da054ef> in <module>
1 plt.figure(figsize = (15,10))
----> 2 sns.jointplot(data.radius_mean,data.area_mean,kind="reg")
3 plt.show()
TypeError: jointplot() takes from 0 to 1 positional arguments but 2 positional arguments (and 1 keyword-only argument) were given
1条答案
按热度按时间aurhwmvo1#
请查看您应该传递给seaborn.jointplot的参数。例如,您应该将列作为关键字参数
x
和y
传递。此外,您需要指定data
参数: