For histplot, you are unable to directly control saturation, and so you can very easily, as I did, end up with colors not matching between the legend and the actual plot, itself. To solve this, I used ...
I think the KDE plots for the following lines should be identical. sns.histplot(data=d, x='var1', hue='var2', kde=True) sns.histplot(data=d, x='var1', hue='var2', kde=True, multiple='stack') When the ...
この記事はExcelで作れるグラフを、自己満のためだけにPythonで作ろうと思い調べた内容を綴っています。 グラフの作り方にフォーカスしており、グラフの使い分けに関しては別の記事に分けようと思っています。 少しづつ更新する予定なので気長に見守って ...