Why Nostr? What is Njump?
2023-01-08 13:13:26
in reply to

dave on Nostr: After line 80 is the following code: updatemenus=[ { 'buttons': [ { 'args': [ ...

After line 80 is the following code:

updatemenus=[
{
'buttons': [
{
'args': [
{'visible': [True, False]},
{'title': 'Type A'}
],
'label': 'Type A',
'method': 'update'
},
{
'args': [
{'visible': [False, True]},
{'title': 'Type B'}
],
'label': 'Type B',
'method': 'update'
}
],
'direction': 'down',
'showactive': True,
'x': 0,
'xanchor': 'left',
'y': 1.2,
'yanchor': 'top'
},
],
# define the corresponding x, y axis
xaxis = {'visible': False},
yaxis= {'visible': False},
)

])

# Run the app
if __name__ == '__main__':
app.run_server(debug=True)
Author Public Key
npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4