From 04c00b1a257e9b2c28e85e867b38771cfd927286 Mon Sep 17 00:00:00 2001 From: Attila Gabor Date: Fri, 21 Jun 2024 09:52:47 +0200 Subject: [PATCH] fix perturbation plots 2 --- corneto/methods/signal/cellnopt_ilp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corneto/methods/signal/cellnopt_ilp.py b/corneto/methods/signal/cellnopt_ilp.py index 0a6b1e2c..763a0ee7 100644 --- a/corneto/methods/signal/cellnopt_ilp.py +++ b/corneto/methods/signal/cellnopt_ilp.py @@ -496,7 +496,7 @@ def plot_fitness(G, exp_list, P, measured_only=False, **kwargs): color=perturbation_colors, ) if iexp == N_exps - 1: - axs[iexp - 1, plot_location)].set_xticks(range(len(perturbation_vars))) + axs[iexp - 1, plot_location].set_xticks(range(len(perturbation_vars))) axs[iexp - 1, plot_location].set_xticklabels( perturbation_vars, rotation=45 )