1
通常情况下,我会通过编辑matplotlib.rcParams来增加matplotlib的全局线宽。这似乎与SciPy's dendrogram实施直接有效,但与Seaborn's clustermap(其使用SciPy的树状图)无关。任何人都可以提出一种工作方法如何在Seaborn的clustermap树状图中指定线宽
import matplotlib
matplotlib.rcParams['lines.linewidth'] = 10
import seaborn as sns; sns.set()
flights = sns.load_dataset("flights")
flights = flights.pivot("month", "year", "passengers")
g = sns.clustermap(flights)
此方法按预期工作。这也比尝试强制使用rcParams更好。 – clintval
就像一个参考:这种方法似乎不再起作用。我会进一步研究,如果我找到一些我会报告。 – clintval