Skip to content

Instantly share code, notes, and snippets.

@kusal1990
Created June 24, 2022 06:49
Show Gist options
  • Save kusal1990/99972c34ec1cef70b9fc337a90e42943 to your computer and use it in GitHub Desktop.
Save kusal1990/99972c34ec1cef70b9fc337a90e42943 to your computer and use it in GitHub Desktop.
# Test SchoolGrade
def plot_subplot_bar(data,type_):
print(type_+" dataset Analysis ...............")
plt.figure(figsize=(16,4.5))
for i,v in enumerate(["Train","Test","Dev"],start = 1):
plt.subplot(1,3,i)
plt.title(v+"_schoolGrade vs No_of_times_used("+type_+")")
sns.distplot(eval(v+data))
plt.xticks([i for i in range(11)])
plt.ylabel("No_of_times_used")
plt.show()
@kusal1990
Copy link
Author

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment