Skip to content

Commit

Permalink
Update jdh_statistics.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
memerchik authored Sep 10, 2024
1 parent b60ca33 commit 42a47f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdh_statistics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"\n",
" # Plot the data\n",
" my_colors = [(x/10.0, x/20.0, 0.75) for x in range(len(articles_per_year))]\n",
" articles_per_year.plot(kind='bar', xlabel='Year', ylabel='Number of Articles', title='Articles Published per Year', colors=my_colors)\n",
" articles_per_year.plot(kind='bar', xlabel='Year', ylabel='Number of Articles', title='Articles Published per Year', color=my_colors)\n",
" # Set y-axis ticks to integers only\n",
" plt.yticks(range(int(articles_per_year.max()) + 1))\n",
"\n",
Expand Down

0 comments on commit 42a47f4

Please sign in to comment.