DataExplorer icon indicating copy to clipboard operation
DataExplorer copied to clipboard

Change DataExplorer color palettes

Open tamdrashtri opened this issue 7 years ago • 5 comments

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

tamdrashtri avatar Dec 12 '18 19:12 tamdrashtri

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.

boxuancui avatar Dec 12 '18 19:12 boxuancui

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

tamdrashtri avatar Dec 13 '18 00:12 tamdrashtri

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

boxuancui avatar Dec 13 '18 16:12 boxuancui

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.

SebastianHeyneman avatar Jan 22 '19 00:01 SebastianHeyneman

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.

boxuancui avatar Jan 22 '19 02:01 boxuancui