# What's the kernel used in Geom.density for kernel density estimate in Gadfly?

**URL:** https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275
**Category:** Statistics
**Tags:** question, package, plotting, gadfly
**Created:** [June 23, 2022, 7:21pm UTC](https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275 "2022-06-23T19:21:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![guixien](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/guixien/32/34399_2.png) [@guixien](https://discourse.julialang.org/u/guixien)
#### Post date: [June 23, 2022, 7:21pm UTC](https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275/1 "2022-06-23T19:21:05Z")

</div>

I am not seeing this anywhere in the documentation. Is it simply the Gaussian kernel?

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [June 24, 2022, 1:15pm UTC](https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275/2 "2022-06-24T13:15:44Z")

</div>

Yeah, Gadfly uses the KernelDensity.jl defaults: [Gadfly.jl/statistics.jl at 0bec09d30eca618e10c64fe383024211629c0c65 · GiovineItalia/Gadfly.jl · GitHub](https://github.com/GiovineItalia/Gadfly.jl/blob/0bec09d30eca618e10c64fe383024211629c0c65/src/statistics.jl#L598)
