-
-
Save amankharwal/a781f9f36831ff950a039cb54acc7c40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plt.figure(figsize=(8,6)) | |
plt.title('Distribution of Target', size=18) | |
sns.countplot(x=data['auth']) | |
target_count = data.auth.value_counts() | |
plt.annotate(s=target_count[0], xy=(-0.04,10+target_count[0]), size=14) | |
plt.annotate(s=target_count[1], xy=(0.96,10+target_count[1]), size=14) | |
plt.ylim(0,900) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment