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

Change DataExplorer color palettes #99

Open
tamdrashtri opened this issue Dec 12, 2018 · 5 comments
Open

Change DataExplorer color palettes #99

tamdrashtri opened this issue Dec 12, 2018 · 5 comments
Labels
type: enhancement Improvement on an existing feature

Comments

@tamdrashtri
Copy link

I want to add colors to graphs generated by DataExplorer, and I'm particularly into the viridis palettes. Is there any way for me to add them?

Thank you!

https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html

@boxuancui
Copy link
Owner

I don't think there is an easy way to update color, unless you want to adjust the returned ggplot objects (added with #78) and modify them yourself.

In addition, most of existing DataExplorer charts are monochromic. I wonder if there are much to change.

@tamdrashtri
Copy link
Author

got it! Thank you very much. The package has been very useful to me.

@boxuancui boxuancui added the type: enhancement Improvement on an existing feature label Dec 13, 2018
@boxuancui boxuancui changed the title Does DataExplorer support viridis color palettes? Change DataExplorer color palettes Dec 13, 2018
@boxuancui
Copy link
Owner

Thanks for using DataExplorer. I will keep this issue open in case it becomes more relevant down the road.

@SeabassWells
Copy link

Just wanted to give a +1 on this. In plot_correlation, the strong positive correlations show up as red and the strong negative correlations show up as blue. Would love to be able to switch those colors.

@boxuancui
Copy link
Owner

boxuancui commented Jan 22, 2019

Just wanted to give a +1 on this. In plot_correlation, the strong positive correlations show up as red and the strong negative correlations show up as blue. Would love to be able to switch those colors.

@SeabassWells In a typical heat map, red represents hot region, and blue represents cold region. That's why I pick those two colors in the correlation heat map. However, you can always overwrite this line to get what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement on an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants