pairs_copula_data
- pairs_copula_data(data, main='', cols=None, grid_size=50, bins=20, scatter_size=6.0)
Pair plot for copula data
Uin(0, 1)^d.Renders three panel types via pure Matplotlib: lower panels show bivariate copula density contours (fitted with pyvinecopulib) in z-space; upper panels show the scatter plus a Kendall’s tau annotation in copula space; the diagonal holds histograms.
- Parameters:
- dataarray-like, shape (n, d)
Copula data with entries strictly in
(0, 1).- mainstr, default=””
Figure title.
- colslist of str or None, default=None
Per-column labels (length
d). When None, columns are labelled"u1"…"ud".- grid_sizeint, default=50
Resolution of the contour grid per dimension (lower panels). Must be positive.
- binsint, default=20
Number of histogram bins (diagonal). Must be positive.
- scatter_sizefloat, default=6.0
Marker size for upper-panel scatter. Must be positive.
- Returns:
- figFigure
The matplotlib Figure containing the panel grid.
- axesndarray, shape (d, d), dtype object
Array of matplotlib Axes objects, indexed
[row, col].