Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Add example #266

Merged
merged 2 commits into from
May 19, 2020
Merged

Add example #266

merged 2 commits into from
May 19, 2020

Conversation

ericphanson
Copy link
Contributor

@SimonDanisch gave this example in the Slack for how to get the data coordinates for mouse interaction when using MakieLayout. I'm not quite sure how MakieGallery works so please tell me if I need to do something differently.

examples/interactive.jl Outdated Show resolved Hide resolved
examples/interactive.jl Outdated Show resolved Hide resolved
examples/interactive.jl Outdated Show resolved Hide resolved
@ericphanson
Copy link
Contributor Author

Thanks for the review and fixes :)

@ericphanson
Copy link
Contributor Author

One thing is that this doesn't use the MakieLayout.addmousestate! stuff which also gives a nice API for this. But this example might still be helpful anyway to show another way.

@asinghvi17
Copy link
Member

Fair enough. This is a pretty useful example IMO, just to show integration.

I'll merge later this week when I have time to record this and upload the reference images.

@SimonDanisch SimonDanisch merged commit 9fa0867 into JuliaPlots:master May 19, 2020
@ericphanson ericphanson deleted the hover-layout branch May 19, 2020 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants