[IPython-dev] widget models caching the view

Brian Granger ellisonbg at gmail.com
Sat Feb 22 22:43:12 EST 2014


Yes this is it exactly. I do think we bed to support it, otherwise the second you display a widget, it becomes pinned to that cell - you could use it later

Sent from my iPhone

> On Feb 22, 2014, at 7:37 PM, Jason Grout <jason-sage at creativetrax.com> wrote:
> 
>> On 2/22/14 9:19 PM, Jason Grout wrote:
>> On 2/22/14 8:58 PM, Brian Granger wrote:
> 
>>> Am I missing something?
> 
> I think I see better what you are saying.  Are you saying that currently 
> this works:
> 
> s=Slider(...)
> display(s)
> 
> (and then in another cell)
> 
> display(s)
> 
> but then after this change, that wouldn't work?  I guess it would still 
> "work", in that it would probably move the slider DOM element to the new 
> position.  But I think you're right that it would make displaying the 
> same widget multiple times difficult.
> 
> Do we want to support displaying a single widget multiple times (for 
> example, as different sliders)?  Perhaps that is the slippery slope to 
> exposing full view classes in Python so you can display the slider data 
> also as other controls elsewhere?
> 
> Thanks,
> 
> Jason
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



More information about the IPython-dev mailing list