From bafecb60ce9476a33a9313ae0829c89ee3fe595d Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Wed, 21 Feb 2024 23:25:43 +0100 Subject: [PATCH] Polish --- Overlap/Analysis/plot_components.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Overlap/Analysis/plot_components.py b/Overlap/Analysis/plot_components.py index ce680efa..76e2b246 100755 --- a/Overlap/Analysis/plot_components.py +++ b/Overlap/Analysis/plot_components.py @@ -81,6 +81,7 @@ def plot_nbunch(G, nbunch, color="#1f78b4", label=None, ax=None): if ax is None: ax = plt.gca() + pos = G.nodes.data("coordinates") nbunch_plot = nbunch.copy() -- GitLab