Skip to content

Commit

Permalink
Remove unnecessary mathy-ness
Browse files Browse the repository at this point in the history
  • Loading branch information
hmedina committed Mar 27, 2024
1 parent b4a95eb commit 3a172fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KaSaAn/functions/snapshot_visualizer_subcomponent.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def render_complexes_as_plain_graph(snapshot_file_name: str, sizes_requested: Li
patch_color = color_scheme[ka_agent] if ka_agent in color_scheme else '#00000000'
legend_entries.append(mpatches.Patch(label=patch_label, color=patch_color))
ax.legend(handles=legend_entries,
title=(r'{} {}, size$={}$'.format(abund,
title=('{} {}, size {}'.format(abund,
'copies' if abund > 1 else 'copy',
c_kappa.get_size_of_complex())))
fig_list.append(fig_all)
Expand Down Expand Up @@ -119,7 +119,7 @@ def render_complexes_as_plain_graph(snapshot_file_name: str, sizes_requested: Li
patch_color = color_scheme[KappaAgent(kappa_query.get_agent_name())]
legend_entry = mpatches.Patch(label=patch_label, color=patch_color)
ax.legend(handles=[legend_entry],
title=(r'{} {}, size$={}$'.format(abund,
title=('{} {}, size {}'.format(abund,
'copies' if abund > 1 else 'copy',
c_kappa.get_size_of_complex())))
fig_list.append(fig_patt)
Expand Down

0 comments on commit 3a172fc

Please sign in to comment.