Skip to content

Commit

Permalink
document kernal signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrswift committed Jul 31, 2024
1 parent 9e0a373 commit bb654c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plot/violin.typ
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
/// / left: Plot only the left side of the violin.
/// / right: Plot only the right side of the violin.
/// / both: Plot both sides of the violin.
/// - kernel (function): The kernel density estimator function.
/// - kernel (function): The kernel density estimator function, which takes a single
/// `x` value relative to the center of a distribution (0) and
/// normalized by the bandwidth
/// - bandwidth (float): The smoothing parameter of the kernel.
/// - extents (float): The extension of the domain, expressed as a fraction of spread.
/// - samples (int): The number of samples of the kernel to render.
Expand Down

0 comments on commit bb654c9

Please sign in to comment.