Source code for plotnine.geoms.geom_density_2d

from ..doctools import document
from .geom_path import geom_path


[docs]@document class geom_density_2d(geom_path): """ 2D density estimate This is a 2d version of :class:`~plotnine.geoms.geom_density`. {usage} Parameters ---------- {common_parameters} """ DEFAULT_PARAMS = {'stat': 'density_2d', 'position': 'identity', 'na_rm': False}