Skip to content

Commit a4b2066

Browse files
authored
Update roary_plots from .ix to .loc
Since 0.20.1 .loc is the preferred index lookup method instead of .ix https://pandas.pydata.org/pandas-docs/version/0.20/whatsnew.html#deprecate-ix
1 parent b4f6533 commit a4b2066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/roary_plots/roary_plots.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_options():
9494

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

9999
# Pangenome frequency plot
100100
plt.figure(figsize=(7, 5))

0 commit comments

Comments
 (0)