TypeError Traceback (most recent call last)
< ipython-input-43-450b3759fecb> in < module>
1 fig,ax = plt.subplots(figsize=(14,9))
----> 2 sns.kdeplot(data=slice_df, x='day',y='value',cbar=True,cmap="coolwarm");
/opt/conda/lib/python3.6/site-packages/seaborn/distributions.py in kdeplot(data, data2, shade, vertical, kernel, bw, gridsize, cut, clip, legend, cumulative, shade_lowest, cbar, cbar_ax, cbar_kws, ax, **kwargs)
685 ax = _bivariate_kdeplot(x, y, shade, shade_lowest,
686 kernel, bw, gridsize, cut, clip, legend,
--> 687 cbar, cbar_ax, cbar_kws, ax, **kwargs)
688 else:
689 ax = _univariate_kdeplot(data, shade, vertical, kernel, bw,
TypeError: _bivariate_kdeplot() got multiple values for argument 'x'
请问这个怎么修改? 谢谢
2023-01-30