From cca03b9ca87634358673b7e18f587b20c1c4962a Mon Sep 17 00:00:00 2001 From: Felipe Date: Fri, 13 Oct 2023 10:02:08 -0700 Subject: [PATCH] Move PlotConfig to visualization.py --- copulas/visualization.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/copulas/visualization.py b/copulas/visualization.py index eff0ded8..3a57c526 100644 --- a/copulas/visualization.py +++ b/copulas/visualization.py @@ -7,6 +7,18 @@ from copulas.utils2 import PlotConfig +class PlotConfig: + """Custom plot settings for visualizations.""" + + GREEN = '#36B37E' + RED = '#FF0000' + ORANGE = '#F16141' + DATACEBO_DARK = '#000036' + DATACEBO_GREEN = '#01E0C9' + DATACEBO_BLUE = '#03AFF1' + BACKGROUND_COLOR = '#F5F5F8' + FONT_SIZE = 18 + def _generate_column_bar_plot(real_data, synthetic_data, plot_kwargs={}): """Generate a bar plot of the real and synthetic data.