From bec7fa54ad4d074d926102c378de0e72cb2ec0a4 Mon Sep 17 00:00:00 2001 From: Cedric Bouysset Date: Fri, 1 Mar 2024 16:09:24 +0000 Subject: [PATCH] chore: formatting --- prolif/plotting/network.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/prolif/plotting/network.py b/prolif/plotting/network.py index cfbc6a1..c9e2e84 100644 --- a/prolif/plotting/network.py +++ b/prolif/plotting/network.py @@ -12,6 +12,7 @@ :members: """ + import json import re import warnings @@ -791,7 +792,9 @@ def _get_legend(self, height="90px"): }); legend.appendChild(div_residues); legend.appendChild(div_interactions); - """ % dict(div_id="networklegend", buttons=json.dumps(buttons)) + """ % dict( + div_id="networklegend", buttons=json.dumps(buttons) + ) @requires("IPython.display") def display(self, **kwargs):