我有一个图形布局和垂直滑块布局。我想把滑块放在网格上,这样我就可以沿y轴移动。如何在破折号代码中嵌入css。有人能指引我吗?
import dash
from dash.dependencies import Input, Output, State
import dash_core_components as dcc
import dash_html_components as html
import plotly
app = dash.Dash()
app.layout = html.Div([
dcc.Slider(
id='my-slider',
updatemode = "drag",
vertical = True,
min=10,
max=40,
step=10,
value=10,
),
html.Div(id='slider-output-container'),
html.Div([
dcc.Graph(id="plot_1"),
])
])
If someone replies it will be more helpful for me to develop.
Thanks,
Meera
暂无答案!
目前还没有任何答案,快来回答吧!