Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 1dd54b9

Browse files
committed
fix plotly
1 parent 4b5acdb commit 1dd54b9

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

src/arctic3d/cli.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@
7777

7878
argument_parser.add_argument(
7979
"--full",
80-
help="consider full uniprot-pdb-chain information in the retrieval. (default: %(default)s)",
80+
help=(
81+
"consider full uniprot-pdb-chain information in the retrieval. "
82+
"(default: %(default)s)"
83+
),
8184
action="store_true",
8285
)
8386

@@ -273,7 +276,7 @@ def main(
273276
else:
274277
pdb_data_path = None
275278
# get best pdb
276-
pdb_f, cif_f, filtered_interfaces = get_best_pdb(
279+
pdb_f, _cif_f, filtered_interfaces = get_best_pdb(
277280
uniprot_id=uniprot_id,
278281
interface_residues=interface_residues,
279282
pdb_to_use=pdb_to_use,

src/arctic3d/modules/output.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,20 @@ def make_plotly_plot(conv_resids, probs):
280280
fig.update_layout(
281281
title="ARCTIC3D clustering",
282282
xaxis=dict(
283-
title="Residue ID",
284-
tickfont_size=14,
285-
titlefont_size=16,
283+
title={
284+
"text": "Residue ID",
285+
"font": {"size": 16},
286+
},
287+
tickfont=dict(size=14),
286288
tick0=conv_resids[0],
287289
dtick=10,
288290
),
289291
yaxis=dict(
290-
title="Probability",
291-
titlefont_size=16,
292-
tickfont_size=14,
292+
title={
293+
"text": "Probability",
294+
"font": {"size": 16},
295+
},
296+
tickfont=dict(size=14),
293297
),
294298
legend=dict(x=1.01, y=1.0, font_family="Helvetica", font_size=16),
295299
barmode="group",

src/arctic3d/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Version information."""
2-
VERSION = "0.1.0-unreleased"
2+
VERSION = "0.1.1"
33
v_major, v_minor, v_patch = VERSION.split(".")

0 commit comments

Comments
 (0)