reno.viz.density#

reno.viz.density(data, smoothing=0.1)#

Get smoothed histogram (density plot) data from an array.

Returns a tuple of the domain (x) and the smoothed values (y).

Parameters:
  • data (ndarray)

  • smoothing (float)

Return type:

tuple[ndarray, ndarray]