We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680404a commit 71f5e9bCopy full SHA for 71f5e9b
molplotly/main.py
@@ -246,6 +246,11 @@ def add_molecules(
246
else:
247
colors = {0: "black"}
248
249
+ if not svg_height:
250
+ svg_height = svg_size
251
+ if not svg_width:
252
+ svg_width = svg_size
253
+
254
app = JupyterDash(__name__)
255
if smiles_col is None and mol_col is None:
256
raise ValueError("Either smiles_col or mol_col has to be specified!")
@@ -349,10 +354,6 @@ def display_hover(hoverData, value):
349
354
df_row = df.iloc[num]
350
355
351
356
hoverbox_elements = []
352
- if not svg_height:
353
- svg_height = svg_size
- if not svg_width:
- svg_width = svg_size
357
358
if show_img:
359
for col in chosen_smiles:
0 commit comments