41得票3回答
关闭 Seaborn 绘图中的误差条。

import seaborn as sns # sample data df = sns.load_dataset('titanic') ax = sns.barplot(data=df, x='class', y='age', hue='survived') 有没有办法关闭黑色错...

20得票1回答
如何在factorplot中分别更改线宽和标记大小

我明白“scale”同时改变两个参数,但我想实现的效果是在大标记之间有一条细线连接。 我还尝试通过“rc{'lines.linewidth' = 1, 'lines.markersize' = 5}”进行调整大小,但结果是将标记大小和线宽一起缩放,而不是独立设置它们。实际上,由于某种原因,“...

8得票2回答
减小 seaborn pointplot 的线宽度。

import seaborn as sns sns.set(style="ticks") exercise = sns.load_dataset("exercise") g = sns.factorplot(x="time", y="pulse", hue="kind", data=exerc...

7得票3回答
如何在Seaborn的点图上获取数据标签?

我有两个数组,如下所示: Soldier_years = [1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 18...