简体   繁体   English

seaborn.distplot - kde 关键字列表

[英]seaborn.distplot - list of kde keywords

Can someone point me to a list of acceptable kde keyword arguments?有人可以指出可接受的 kde 关键字 arguments 列表吗? I am aware of a few, eg:我知道一些,例如:

kde_kws={"linewidth": 4, 'linestyle':'--', "color": "k", "label": "KDE"}

You can find the kde keyword arguments here: https://seaborn.pydata.org/generated/seaborn.kdeplot.html您可以在此处找到 kde 关键字 arguments: https://seaborn.pydata.org/generated/seaborn.kdeplot.html

What you suggested as kde keyword arguments are actually您建议的 kde 关键字 arguments 实际上是

Other keyword arguments are passed to plt.plot() or plt.contour{f} depending on whether a univariate or bivariate plot is being drawn.其他关键字 arguments 被传递给 plt.plot() 或 plt.contour{f} 取决于是否正在绘制单变量或双变量 plot。

So if you're looking for the keyword arguments of plt.plot or plt.contour, look them up on matplotlib documentation.因此,如果您正在寻找 plt.plot 或 plt.contour 的关键字 arguments 或 plt.contour,请在 matplotlib 文档中查找它们。

https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.plot.html https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.contour.html https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.plot.html https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.contour.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM