📜  散点图点密度颜色熊猫 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:50.522000             🧑  作者: Mango

代码示例1
library(ggplot2)
# install.packages("ggpointdensity")
library(ggpointdensity)

df <- data.frame(x = rnorm(5000), y = rnorm(5000))
ggplot(df, aes(x=x, y=y)) + geom_pointdensity() + scale_color_viridis_c()