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

Allow passing of colour table when deploying shiny apps #20

Open
andrew-MET opened this issue Sep 2, 2020 · 0 comments
Open

Allow passing of colour table when deploying shiny apps #20

andrew-MET opened this issue Sep 2, 2020 · 0 comments

Comments

@andrew-MET
Copy link
Collaborator

By default colours are assigned in shiny_plot_point_verif() from a fixed colour palette, taking the colours in order. The user can then change the colours in the app, but if they have to do this every time that can be a bit of a hassle! plot_point_verif() allows the user to pass a data frame with key value pairs for 'mname' and 'colour' to control which fcst_model gets which colour.

This functionality should be extended to the shiny app with the option to pass a colour table via shinyOptions. Will need to take into account what to do if not all mnames are in the colour table - currently plot_point_verif() just resets the entire colour table.

Could also add bookmarking so that a user can save their colour choices for next time.

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

1 participant