Hello, I wanted to make a frame around some buttons in a python plotly graph. I’m not quite sure how I’d go about it though. If anybody could help I’d appreciate it, thanks.
This is how my buttons currently look:
This is how I’d like it to look:
This is the code I used to generate my buttons:
fig.update_layout(
xaxis=dict(
rangeselector=dict(
buttons=list([
dict(count=1,label="1m",step="month",stepmode="backward"),
dict(count=6,label="6m",step="month",stepmode="backward"),
dict(count=1,label="YTD",step="year",stepmode="todate"),
dict(count=1,label="1y",step="year",stepmode="backward"),
dict(count=5,label='5y',step='year',stepmode='backward'),
dict(label='Max',step="all")])),
rangeslider=dict(visible=False),type="date"))