vasilisNt commited on
Commit
c4368d7
1 Parent(s): a1d3335

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def load_LLR(uniprot_id):
22
 
23
  def plot_interactive(uniprot_id):
24
  primaryLLR = load_LLR(uniprot_id)
25
- is_dark = output.eval_js('document.documentElement.matches("[theme=dark]")')
26
- template='plotly_dark' if is_dark else 'plotly_white'
27
 
28
  fig = px.imshow(primaryLLR.values, x=primaryLLR.columns, y=primaryLLR.index, color_continuous_scale='Viridis_r',zmax=0,
29
  labels=dict(y="Amino acid change", x="Protein sequence", color="LLR"),
 
22
 
23
  def plot_interactive(uniprot_id):
24
  primaryLLR = load_LLR(uniprot_id)
25
+
26
+ template='plotly_white'
27
 
28
  fig = px.imshow(primaryLLR.values, x=primaryLLR.columns, y=primaryLLR.index, color_continuous_scale='Viridis_r',zmax=0,
29
  labels=dict(y="Amino acid change", x="Protein sequence", color="LLR"),