Skip to content

Commit

Permalink
Merge pull request #507 from stellareichling/patch-1
Browse files Browse the repository at this point in the history
fixed error by old pandas version
  • Loading branch information
andrewjpage authored Sep 26, 2020
2 parents 5ecbd45 + 6558d62 commit 12a726e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/roary_plots/roary_plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"source": [
"# Sort the matrix by the sum of strains presence\n",
"idx = roary.sum(axis=1).sort_values(ascending=False).index\n",
"roary_sorted = roary.ix[idx]"
"roary_sorted = roary.loc[idx]"
]
},
{
Expand Down Expand Up @@ -806,7 +806,7 @@
" ax1.axis('off')\n",
"\n",
" ax = fig.add_subplot(1,2,1)\n",
" ax=plt.subplot2grid((1,40), (0, 0), colspan=10, axisbg='white')\n",
" ax=plt.subplot2grid((1,40), (0, 0), colspan=10, facecolor='white')\n",
"\n",
" fig.subplots_adjust(wspace=0, hspace=0)\n",
"\n",
Expand Down

0 comments on commit 12a726e

Please sign in to comment.