Answers for "how to show mean values on histogram in seaborn"

0

how to show mean values on histogram in seaborn

import matplotlib.pyplot as plt
import seaborn as sns

%matplotlib inline

sns.distplot(xgb_errors, kde=True, rug=True);
plt.axvline(np.median(xgb_errors),color='b', linestyle='--')
Posted by: Guest on April-17-2021

Browse Popular Code Answers by Language