Grant commited on
Commit
db33ed7
·
1 Parent(s): 1cc6ef7

get rid of zero line on lin eplot as well

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -47,7 +47,7 @@ def plot_interactive_line(uid_data: pd.DataFrame, uid: str, score: str, mutation
47
  line_fig.update_layout(
48
  title=f"{uid} {mutation} Scores by Position",
49
  yaxis_title=f'{mutation} Score<br>(More Negative = More Damaging)',
50
- yaxis=dict(showgrid=False),
51
  height=300
52
  )
53
  return line_fig
 
47
  line_fig.update_layout(
48
  title=f"{uid} {mutation} Scores by Position",
49
  yaxis_title=f'{mutation} Score<br>(More Negative = More Damaging)',
50
+ yaxis=dict(showgrid=False, zeroline=False, showline=False),
51
  height=300
52
  )
53
  return line_fig
app.py CHANGED
@@ -47,7 +47,7 @@ def plot_interactive_line(uid_data: pd.DataFrame, uid: str, score: str, mutation
47
  line_fig.update_layout(
48
  title=f"{uid} {mutation} Scores by Position",
49
  yaxis_title=f'{mutation} Score<br>(More Negative = More Damaging)',
50
- yaxis=dict(showgrid=False),
51
  height=300
52
  )
53
  return line_fig
 
47
  line_fig.update_layout(
48
  title=f"{uid} {mutation} Scores by Position",
49
  yaxis_title=f'{mutation} Score<br>(More Negative = More Damaging)',
50
+ yaxis=dict(showgrid=False, zeroline=False, showline=False),
51
  height=300
52
  )
53
  return line_fig