add_fun

0th

Percentile

Apply function to plot, without modifying data

Useful when you need two or more layers that apply a summary statistic to the original data.

Usage
add_fun(p, fun, ...)
Arguments
p

a plotly object.

fun

a function. Should take a plotly object as input and return a modified plotly object.

...

arguments passed to fun.

Aliases
  • add_fun
Documentation reproduced from package plotly, version 4.8.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.