Skip to content

Instantly share code, notes, and snippets.

@himlohiya
Created June 30, 2018 12:47
Show Gist options
  • Select an option

  • Save himlohiya/2a99ce2e33a7499f38b0c2a42edde9d7 to your computer and use it in GitHub Desktop.

Select an option

Save himlohiya/2a99ce2e33a7499f38b0c2a42edde9d7 to your computer and use it in GitHub Desktop.
fc = sns.factorplot(x="news_category", hue="sentiment_category",
data=df, kind="count",
palette={"negative": "#FE2020",
"positive": "#BADD07",
"neutral": "#68BFF5"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment