copulas.visualization module¶
Visualization utilities for the Copulas library.
-
copulas.visualization.
compare_1d
(real, synth, columns=None, figsize=None)[source]¶ Generate a 1d scatter plot comparing real/synthetic data.
- Parameters
real (pd.DataFrame) – The real data.
synth (pd.DataFrame) – The synthetic data.
columns (list) – The name of the columns to plot.
figsize – Figure size, passed to matplotlib.
-
copulas.visualization.
compare_2d
(real, synth, columns=None, figsize=None)[source]¶ Generate a 2d scatter plot comparing real/synthetic data.
- Parameters
real (pd.DataFrame) – The real data.
synth (pd.DataFrame) – The synthetic data.
columns (list) – The name of the columns to plot.
figsize – Figure size, passed to matplotlib.
-
copulas.visualization.
compare_3d
(real, synth, columns=None, figsize=(10, 4))[source]¶ Generate a 3d scatter plot comparing real/synthetic data.
- Parameters
real (pd.DataFrame) – The real data.
synth (pd.DataFrame) – The synthetic data.
columns (list) – The name of the columns to plot.
figsize – Figure size, passed to matplotlib.
-
copulas.visualization.
hist_1d
(data, fig=None, title=None, position=None, bins=20, label=None)[source]¶ Plot 1 dimensional data in a histogram.
-
copulas.visualization.
scatter_2d
(data, columns=None, fig=None, title=None, position=None)[source]¶ Plot 2 dimensional data in a scatter plot.