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

"Clone current settings" doesn't input custom color scheme and size #1

Open
samjlord opened this issue Mar 22, 2021 · 2 comments
Open

Comments

@samjlord
Copy link

I made a custom color scheme and changed the size of the dots, but when I "clone current settings" and paste that into a new browser window, I get an error. I have to manually cut the colors from the URL and paste into the custom color scheme box. Also, I don't think the dot size is remembered. Here is the cloned settings:

https://huygens.science.uva.nl:/SuperPlotsOfData/?data=3;;drug;variable;replicate&vis=quasirandom;;0.71;mean;blank;;;1;none&layout=No;;TRUE;;;;;5;;480;480&color=#90a4c7,#f08f6c,#75bfa6&label=;;;;;;24;24;18;;&

@JoachimGoedhart
Copy link
Owner

Thanks for pointing this out, it seems that this bug was lingering in the code since PlotsOfData. I keep this issue open as a reminder to check the other apps. It has to do with the hashtags, so these are now replaced by underscores in the cloned URL.
The updated app is available here: https://goedhart.shinyapps.io/SuperPlotsOfData/
Adding this code should enable you to change the colors: ?data=1;;Treatment;Speed;Replicate&vis=quasirandom;;0.7;mean;blank;;;1;none&layout=No;;;;;;;5;;480;480&color=x;_90a4c7,_f08f6c,_75bfa6&label=;;;;;;24;24;18;;&

The update also stores and retrieve information on the dot size

Let me know if this works for you, and I'll update the main app (at https://huygens.science.uva.nl/SuperPlotsOfData/)

@samjlord
Copy link
Author

samjlord commented Mar 23, 2021 via email

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

No branches or pull requests

2 participants