Grant commited on
Commit
7a9ae08
·
1 Parent(s): 1653ef8
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +3 -1
  2. app.py +3 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -9,7 +9,9 @@ def plot_interactive():
9
 
10
  template='plotly_white'
11
 
12
- fig = px.imshow(np.array(pllr.PLLR).reshape(1, pllr.shape[0]), x=list(pllr.deletion.str.split("_", expand=True)[0]), color_continuous_scale=px.colors.sequential.Cividis_r
 
 
13
  labels=dict(x="Protein sequence", color="PLLR"),
14
  template=template,
15
  title="Demo")
 
9
 
10
  template='plotly_white'
11
 
12
+ fig = px.imshow(np.array(pllr.PLLR).reshape(1, pllr.shape[0]),
13
+ x=list(pllr.deletion.str.split("_", expand=True)[0]),
14
+ color_continuous_scale=px.colors.sequential.Cividis_r,
15
  labels=dict(x="Protein sequence", color="PLLR"),
16
  template=template,
17
  title="Demo")
app.py CHANGED
@@ -9,7 +9,9 @@ def plot_interactive():
9
 
10
  template='plotly_white'
11
 
12
- fig = px.imshow(np.array(pllr.PLLR).reshape(1, pllr.shape[0]), x=list(pllr.deletion.str.split("_", expand=True)[0]), color_continuous_scale=px.colors.sequential.Cividis_r
 
 
13
  labels=dict(x="Protein sequence", color="PLLR"),
14
  template=template,
15
  title="Demo")
 
9
 
10
  template='plotly_white'
11
 
12
+ fig = px.imshow(np.array(pllr.PLLR).reshape(1, pllr.shape[0]),
13
+ x=list(pllr.deletion.str.split("_", expand=True)[0]),
14
+ color_continuous_scale=px.colors.sequential.Cividis_r,
15
  labels=dict(x="Protein sequence", color="PLLR"),
16
  template=template,
17
  title="Demo")