Skip to content

Instantly share code, notes, and snippets.

@SantoshCode
Last active February 7, 2022 09:50
Show Gist options
  • Save SantoshCode/06aa1cd5467a85bdf4e13b89bba13880 to your computer and use it in GitHub Desktop.
Save SantoshCode/06aa1cd5467a85bdf4e13b89bba13880 to your computer and use it in GitHub Desktop.
import pandas as pd
import matplotlib as matplotlib

print(matplotlib.style.available)

matplotlib.style.use('seaborn-whitegrid') # My favourite, also "seaborn-talk" is big one

df = pd.read_csv('./data/ABC.csv')

df.target.value_counts().plot(kind="bar")

or

import matplotlib.pyplot as plt
print(plt.style.available)
plt.style.use('seaborn-whitegrid')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment