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

Add predefined palettes as dropdown. #7

Closed
Nemecsek opened this issue Feb 19, 2022 · 4 comments
Closed

Add predefined palettes as dropdown. #7

Nemecsek opened this issue Feb 19, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@Nemecsek
Copy link

Is your feature request related to a problem?
An enhancement: to give the possibility to choose a color palette from a dropdown menu.

There are too many predefined palettes at [https://plotly.com/python/builtin-colorscales/](https://plotly.com/python/builtin-colorscales/, and the menu would become too long), so a dozen should be enough.

As a palette list I would consider:

  • Viridis
  • Magma
  • Turbo
  • Bluered
  • Hot
  • RdBu
  • YlOrRd
  • Thermal
  • Agsunset
  • Balance
  • Portland
  • Edge

If the dropdown menu shows the palette colors (each image can be downloaded from the page) together with the name, it becomes very intuitive.

@chekoduadarsh chekoduadarsh added the enhancement New feature or request label Feb 20, 2022
@chekoduadarsh
Copy link
Owner

@Nemecsek

Thank you for trying YOPO

Yes providing the option for color pallet will help the user, but I am thinking what if it becomes part when we configure the dash board. like this

dashboard(input=df,mode="inline",port=8052,  plotly_config = {theme:'dark',color_palette:'Turbo'})

This way user needs to click less while generating the plot, and can establish common color scheme across all the plot. If you have any objection to this approach please let me know.

@Nemecsek
Copy link
Author

Nemecsek commented Feb 20, 2022

This possibility is even better. In this way the style is coherent among the plots.

@chekoduadarsh
Copy link
Owner

@Nemecsek Fixing the enhancement !! Sorry for the accidental multiple commits

@chekoduadarsh chekoduadarsh mentioned this issue Feb 25, 2022
@chekoduadarsh
Copy link
Owner

Fixed in 0.0.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants