python破折号覆盖在图形中

ee7vknir  于 2021-07-13  发布在  Java
关注(0)|答案(0)|浏览(272)

我有一个图形布局和垂直滑块布局。我想把滑块放在网格上,这样我就可以沿y轴移动。如何在破折号代码中嵌入css。有人能指引我吗?

  1. import dash
  2. from dash.dependencies import Input, Output, State
  3. import dash_core_components as dcc
  4. import dash_html_components as html
  5. import plotly
  6. app = dash.Dash()
  7. app.layout = html.Div([
  8. dcc.Slider(
  9. id='my-slider',
  10. updatemode = "drag",
  11. vertical = True,
  12. min=10,
  13. max=40,
  14. step=10,
  15. value=10,
  16. ),
  17. html.Div(id='slider-output-container'),
  18. html.Div([
  19. dcc.Graph(id="plot_1"),
  20. ])
  21. ])
  22. If someone replies it will be more helpful for me to develop.
  23. Thanks,
  24. Meera

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题