Skip to content

Commit

Permalink
teams visios-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath4259 committed Jun 27, 2018
1 parent 18eb52b commit 85009f9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .ipynb_checkpoints/IPL-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2813,16 +2813,16 @@
}
],
"source": [
"fig, axes = plt.subplots(10,2,figsize=(50,150))\n",
"j=0\n",
"for i in grouped_lst.winner.unique():\n",
" data = grouped_lst.loc[grouped_lst['winner'] == i ]\n",
" data2 = data[['city', 'count']]\n",
" ax = sns.barplot(x='city', y='count', data = data2, color=team_colors[i], ax=axes[j//10, j%2])\n",
" plt.xticks(rotation=90)\n",
" plt.title(i)\n",
"# plt.show()\n",
" j += 1\n",
"# fig, axes = plt.subplots(10,2,figsize=(50,150))\n",
"# j=0\n",
"# for i in grouped_lst.winner.unique():\n",
"# data = grouped_lst.loc[grouped_lst['winner'] == i ]\n",
"# data2 = data[['city', 'count']]\n",
"# ax = sns.barplot(x='city', y='count', data = data2, color=team_colors[i], ax=axes[j//10, j%2])\n",
"# plt.xticks(rotation=90)\n",
"# plt.title(i)\n",
"# # plt.show()\n",
"# j += 1\n",
" "
]
},
Expand Down
20 changes: 10 additions & 10 deletions IPL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2813,16 +2813,16 @@
}
],
"source": [
"fig, axes = plt.subplots(10,2,figsize=(50,150))\n",
"j=0\n",
"for i in grouped_lst.winner.unique():\n",
" data = grouped_lst.loc[grouped_lst['winner'] == i ]\n",
" data2 = data[['city', 'count']]\n",
" ax = sns.barplot(x='city', y='count', data = data2, color=team_colors[i], ax=axes[j//10, j%2])\n",
" plt.xticks(rotation=90)\n",
" plt.title(i)\n",
"# plt.show()\n",
" j += 1\n",
"# fig, axes = plt.subplots(10,2,figsize=(50,150))\n",
"# j=0\n",
"# for i in grouped_lst.winner.unique():\n",
"# data = grouped_lst.loc[grouped_lst['winner'] == i ]\n",
"# data2 = data[['city', 'count']]\n",
"# ax = sns.barplot(x='city', y='count', data = data2, color=team_colors[i], ax=axes[j//10, j%2])\n",
"# plt.xticks(rotation=90)\n",
"# plt.title(i)\n",
"# # plt.show()\n",
"# j += 1\n",
" "
]
},
Expand Down

0 comments on commit 85009f9

Please sign in to comment.