Skip to content

Commit

Permalink
Remove top and right edges of graph frame
Browse files Browse the repository at this point in the history
Refs #59
  • Loading branch information
kimrutherford committed Oct 11, 2023
1 parent d47c676 commit 3961141
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gene_characterisation_status/format_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
plt.xlim([datetime.date(2003,6,1), datetime.date.today()])
# place the legend outside the plot
plt.legend(loc='lower center', bbox_to_anchor=(0.5, 1), ncol=2)

fig, ax = plt.subplots()
ax.spines.top.set(visible=False)
ax.spines.right.set(visible=False)

plt.xlabel('Year', fontsize=15)
plt.ylabel('Number of proteins', fontsize=15)
plt.tight_layout()
Expand Down

0 comments on commit 3961141

Please sign in to comment.