Top "Seaborn" questions

Seaborn is a Python visualization library based on matplotlib.

How to add a label to Seaborn Heatmap color bar?

If I have the following data and Seaborn Heatmap: import pandas as pd data = pd.DataFrame({'x':(1,2,3,4),'y':(1,2,3,4),'z':(14,15,23,2)}) sns.…

python heatmap seaborn
How to make seaborn.heatmap larger (normal size)?

I displayed plot with the following command in jupyter notebook: sns.heatmap(pcts, annot=True, linewidth=.1, vmax=99, fmt='.1f', …

python heatmap jupyter-notebook seaborn
Plotting 2D Kernel Density Estimation with Python

I would like to plot a 2D kernel density estimation. I find the seaborn package very useful here. However, after …

python matplotlib plot kernel seaborn
seaborn: Selected KDE bandwidth is 0. Cannot estimate density

import pandas as pd import seaborn as sns ser_test = pd.Series([1,0,1,4,6,0,6,5,1,3,2,5,1]) sns.kdeplot(ser_test, cumulative=True) The above …

python pandas data-visualization seaborn kernel-density
Show confidence limits and prediction limits in scatter plot

I have two arrays of data as hight and weight: import numpy as np, matplotlib.pyplot as plt heights = np.…

numpy matplotlib scipy regression seaborn
python seaborn to reset back to the matplotlib

I'm using seaborn version o.4 and matplotlib version 1.42 I have a chart displays both line and marker through simple plot …

python matplotlib marker seaborn
Labeling boxplot in seaborn with median value

How can I label each boxplot in a seaborn plot with the median value? E.g. import seaborn as sns …

python matplotlib seaborn
Labels for clustermap in seaborn?

I have several questions about labeling for clustermap in seaborn. First is it possible to extract the the distance values …

python matplotlib machine-learning artificial-intelligence seaborn
How to set a different color to the largest bar in a seaborn barplot?

I'm trying to create a barplot where all bars smaller than the largest are some bland color and the largest …

python bar-chart seaborn
count plot with stacked bars per hue

I am looking for an efficient way of drawing a count plot with stacked bars according to "hue". Standard hue …

python pandas bar-chart seaborn stacked-chart