IT Nursery
Seems pretty Googleable but haven’t been able to find something online that works. I’ve tried both sns.boxplot('Day', 'Count', data= gg).title('lalala') and sns.boxplot('Day', 'Count', data= gg).suptitle('lalala'). None worked. I think...
  • June 1, 2022
  • 0 Comments
IT Nursery
I’m trying to use my own labels for a Seaborn barplot with the following code: import pandas as pd import seaborn as sns fake = pd.DataFrame({'cat': ['red', 'green', 'blue'],...
  • May 29, 2022
  • 0 Comments
I have a simple factorplot import seaborn as sns g = sns.factorplot("name", "miss_ratio", "policy", dodge=.2, linestyles=["none", "none", "none", "none"], data=df[df...
  • May 25, 2022
  • 0 Comments
I tried the following code (test_seaborn.py): import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt matplotlib.style.use('ggplot') import seaborn as sns sns.set() df = sns.load_dataset('iris') sns_plot = sns.pairplot(df, hue="species", size=2.5) fig =...
  • May 24, 2022
  • 0 Comments
I’m sure I’m forgetting something very simple, but I cannot get certain plots to work with Seaborn. If I do: import seaborn as sns Then any plots that I...
  • May 19, 2022
  • 0 Comments