Skip to content

How to use dictionaries as state variables #599

Answered by EZoni
EZoni asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks a lot! Converting the NumPy scalar to a Python float worked and adding change="flushState('params')" to the VSlider and VTextField elements fixed the reactivity issue.

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by EZoni
Comment options

You must be logged in to vote
1 reply
@EZoni
Comment options

Comment options

You must be logged in to vote
1 reply
@EZoni
Comment options

Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants