Created
June 21, 2021 20:58
-
-
Save shayaf84/94604c9797c5312b8fcec262bdbf43be 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
# Adjusting figuresize, and fontsize | |
plt.rcParams["figure.figsize"] = "8,6" | |
font = {'size': 12} | |
plt.rc('font', **font) | |
# Adding titles to the plots and axes | |
plt.title("Distribution of Amount over Both Classes") | |
plt.xlabel("Amount") | |
plt.ylabel("Class") | |
# Plotting the Amount column vs. Class Column | |
plt.scatter(data["Amount"],data["Class"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment