diff --git a/Overlap/plot_traj.py b/Overlap/plot_traj.py index a2ead9ba5444fd1ef4fac249c31865b3b9bb7a76..cf4a2200b4ea72de5c7b1d38db54230ebe16dbdf 100755 --- a/Overlap/plot_traj.py +++ b/Overlap/plot_traj.py @@ -67,7 +67,8 @@ def plot_nbunch(G, nbunch, color = '#1f78b4', label = None, ax = None): if is_node_type(G, n, label): xy = ax.projection.transform_point(*pos[n], src_crs) ax.annotate(str(n), xy, color = color, xytext = (2, 2), - textcoords = 'offset points') + textcoords = 'offset points', + backgroundcolor = "white", fontsize = "xx-small") def plot_all_components(G, label): for component, color in zip(G.graph["component_list"], color_iter):