Skip to content

Commit

Permalink
Merge pull request #416 from EvdH0/patch-1
Browse files Browse the repository at this point in the history
Update roary_plots from .ix to .loc
  • Loading branch information
andrewjpage committed Aug 16, 2018
2 parents b4f6533 + a4b2066 commit 3ff3477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/roary_plots/roary_plots.py
Expand Up @@ -94,7 +94,7 @@ def get_options():

# Sort the matrix by the sum of strains presence
idx = roary.sum(axis=1).sort_values(ascending=False).index
roary_sorted = roary.ix[idx]
roary_sorted = roary.loc[idx]

# Pangenome frequency plot
plt.figure(figsize=(7, 5))
Expand Down

0 comments on commit 3ff3477

Please sign in to comment.