Created
July 9, 2021 21:02
-
-
Save Padhma/de22214d6b0f0f3a6643bcdaa6fcd06a 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
# create a dataframe using users_with_more_repos list | |
more_repos_users_df = github_df[github_df['User_Name'].isin(users_with_more_repos)][['Issues','Pull_Requests','Commits','Contributors']] | |
# set figure size and dpi | |
fig, ax = plt.subplots(figsize=(6,4), dpi=100) | |
# plot the correlation in a heatmap | |
sns.heatmap(more_repos_users_df.corr(), linewidths=0.1, vmax=1.0, square=True, linecolor='white', annot=True, cmap='summer'); | |
fig.suptitle('Correlation of contributions among users with more repositories',fontsize=16, color = '#333F4B'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment