Skip to content

Instantly share code, notes, and snippets.

@vnegi10
Created January 27, 2024 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vnegi10/4b3e72fc606694f0b8f8ec49dea79c2a to your computer and use it in GitHub Desktop.
Save vnegi10/4b3e72fc606694f0b8f8ec49dea79c2a to your computer and use it in GitHub Desktop.
from dash import dcc
def duration_radiobutton():
radio = dcc.RadioItems(id = 'DURATION',
options = ['7', '14', '30', '60', '90', '180', '270', '365'],
value = '30',
inline = True,
)
return radio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment