Created
April 19, 2019 15:36
-
-
Save MLWhiz/e0a17bee5218be7e58eaff4df763b4ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
g = sns.boxplot(y = "Club", | |
x = 'Wage', | |
data = filtered_player_df, whis=np.inf) | |
g = sns.swarmplot(y = "Club", | |
x = 'Wage', | |
data = filtered_player_df, | |
# Decrease the size of the points to avoid crowding | |
size = 7,color = 'black') | |
# remove the top and right line in graph | |
sns.despine() | |
g.figure.set_size_inches(12,8) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment