Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vignette interactivity #88

Merged
merged 4 commits into from
Feb 17, 2022
Merged

Vignette interactivity #88

merged 4 commits into from
Feb 17, 2022

Conversation

casperhart
Copy link
Owner

  • Remove antialiasing logic due to weird edge artifacts. Also modify depthTest value to ensure points are drawn in the correct order.
  • Fix clearing of selection when crosstalk isn't in use.
  • Vignette on interacting with the display_scatter widget.
  • Add pdfsense dataset.

@earowang I've published the vignette in this PR here: https://casperhart.github.io/detourr/articles/display_scatter_interactivity/display_scatter_interactivity.html

I also haven't documented the pdfsense dataset yet or added any attribution. I'll look in to what's required for this tomorrow.

@earowang
Copy link
Collaborator

IMG_6AFF0FCEDB10-1

All icons are invisible but clickable when the widget displays on a mobile device.

@casperhart
Copy link
Owner Author

I'll create a separate ticket for mobile interactivity. Most of it should be easy enough, but the selection controls might require some work

@earowang
Copy link
Collaborator

@dicook thinks the variables shown for pdfsense are not quite right - there shouldn’t be the big gap - Variables 7 through to 62, but use for 6 PCs of a PCA

@casperhart Can you double check on this?

@dicook
Copy link
Collaborator

dicook commented Feb 15, 2022 via email

@casperhart
Copy link
Owner Author

The issue with the gap in the plot was that the variables for the label aesthetic were also being used in the tour itself, e.g. mu, InFit. A rookie mistake I know. I should be able to fix up all the screenshots tomorrow to match the updated display.

I've also found the issue with the icons not showing on mobile. I've gotten them to show, but the controls will require some work for touch screen. That will be covered in #89.

When documenting the pdfsense dataset, I'm not sure whether to include the data in the package directly or have {liminal} in the package Suggests. If using the data directly in {detourr}, is it okay to reuse the same documentation as {liminal}?

@earowang
Copy link
Collaborator

Should suggest {liminal}, and call data(pdfsense, package = "liminal") to use it.

@casperhart casperhart force-pushed the vignette-interactivity branch from 9c338eb to 59f68ef Compare February 15, 2022 10:14
@casperhart casperhart force-pushed the vignette-interactivity branch from 59f68ef to a01fa2e Compare February 16, 2022 10:07
@casperhart
Copy link
Owner Author

I've addressed all the review comments so far, let me know if any other changes are needed

@casperhart casperhart merged commit e9f830d into main Feb 17, 2022
@casperhart casperhart deleted the vignette-interactivity branch February 17, 2022 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants