(ax: Axes, values: torch.Tensor | np.ndarray, **kwargs)
| 263 | @as_chain_func |
| 264 | @IgnoreException |
| 265 | def plot_cumulative_density(ax: Axes, values: torch.Tensor | np.ndarray, **kwargs) -> Axes: |
| 266 | if isinstance(values, torch.Tensor): |
| 267 | values = values.cpu().numpy() |
| 268 | |
| 269 | ax.ecdf(values, **kwargs) |
| 270 | return ax |
| 271 | |
| 272 | |
| 273 | @as_chain_func |