Skip to content

Commit

Permalink
Changed % mito selector from input to slider
Browse files Browse the repository at this point in the history
  • Loading branch information
npalacioescat committed Jun 19, 2024
1 parent e45c488 commit 54511d2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/funki/pages/norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,18 @@
),
html.Br(),
'- Max. % mito. genes per cell: ',
dcc.Input( # TODO: Switch to slider?
id='mito-pct',
type='number',
placeholder='e.g. 5',
value=None,
min=0,
max=100,
style={'width': 100}
html.Div(
dcc.Slider(
id='mito-pct',
min=0,
max=100,
value=100,
tooltip={
'always_visible': True,
'placement': 'top'
},
),
style={'width': '80%'},
),
html.Br(),
html.Br(),
Expand Down

0 comments on commit 54511d2

Please sign in to comment.