Thanks Tony,

These are good suggestions.  I added them as an issue to the jp_doodle 
repository https://github.com/AaronWatters/jp_doodle/issues/5 .
I think I'll have to add some new API functionality to make a 
meta-keystroke workable for dual canvases because right now there
is no way to attach a handler to a single key -- you have to attach a 
handler to all possible keystrokes -- so a meta-keystroke would
either override or get overridden by any other keystroke handler for the 
specific visualization.

It's easy to attach a "last snapshot data" slot to the widget 
implementation, however.

Thanks for the feedback!  -- Aaron Watters


On Saturday, December 1, 2018 at 6:36:05 PM UTC-5, Tony Hirst wrote:
>
> Interesting..
>
> So the idea is that you can build an interactive in the first tab/canvas 
> panel, then grab a snapshot of it that appears in the second?
>
> If there is an interactive where the view is dependent on the mouse cursor 
> position, eg in the Simple Python Example notebook, the image color 
> sampling demo, is there a keybord short cut to click the Take snapshot 
> button? (else how do you get to click the button without moving the mouse 
> cursor away from the point you want to sample/snapshot?)
>
> Is there any way of getting the snapshot into a variable  (eg _ ) with a 
> corresponding image data URI value?
>
> --tony
>
> On Friday, 30 November 2018 16:20:15 UTC, Aaron Watters wrote:
>>
>> I just uploaded a video of a presentation I gave at the Flatiron 
>> Institute about building interactive visualizations:
>>
>> https://youtu.be/nyuCqlTvf0c
>>
>> This presentation consists of a collection of Jupyter notebooks which 
>> introduce dual canvases and how to build interactive visualizations with 
>> dual canvases.
>> Dual canvases are designed to implement special purpose scientific 
>> visualizations that include complex graphic, mouse and other input 
>> interactions, animations, transitions, streaming images and other features.
>>
>> Here is the talk outline as a Jupyter notebook: 
>> https://github.com/AaronWatters/jp_doodle/blob/master/notebooks/workshop/0%20-%20Outline.ipynb
>> I hope you like.  If you don't like for some reason please reply to this 
>> post privately (use the little gear icon [image: U+21D7.svg] 
>> <https://en.wikipedia.org/wiki/File:U%2B21D7.svg>)
>>
>> Thanks!  -- Aaron Watters
>>
>>
>>

-- 
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/2ffd90bc-37bc-4482-ae7f-baeb25d85860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to