diff --git a/ommprotocol/analyze.py b/ommprotocol/analyze.py index 0d65e34..a511b09 100644 --- a/ommprotocol/analyze.py +++ b/ommprotocol/analyze.py @@ -24,7 +24,7 @@ def plot_log(paths): import pandas as pd multi_csv = (pd.read_csv(path, sep="\t", index_col=1) for path in paths) df = pd.concat(multi_csv, ignore_index=True) - df.ix[:, 1:5].plot(subplots=True, layout=(2,2)) + df.iloc[:, 1:5].plot(subplots=True, layout=(2,2)) plt.show() @@ -167,4 +167,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()