Good day
I don´t know How I can show result from interactive method as value some
jupyter widget (etc IntText). For example how I can show result from
c_interaction as value c_value? Thank you for every answer.
from IPython.display import display import ipywidgets as widgets from
ipywidgets import interactive
a_value = widgets.IntText(description='a value:') b_value =
widgets.IntSlider(description='b value:')
def f(a, b):
c = a+b
return c
c_interaction = interactive(f, a=a_value, b=b_value)
c_value = widgets.IntText(description='c value:',value = c_interaction.result)
display(a_value,b_value,c_value)
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/79b308c8-256c-432d-99a0-d2223e36b53a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.