From 78bc606a6d899df114835df7052e63b6aac2176d Mon Sep 17 00:00:00 2001 From: Jiwoo Lee Date: Thu, 22 Sep 2022 11:05:36 -0700 Subject: [PATCH] Update parallel_coordinate_plot_lib.py Change default violin color and make it flexible --- .../parallel_coordinate_plot/parallel_coordinate_plot_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcmdi_metrics/graphics/parallel_coordinate_plot/parallel_coordinate_plot_lib.py b/pcmdi_metrics/graphics/parallel_coordinate_plot/parallel_coordinate_plot_lib.py index 6fab1637e..729adbe64 100644 --- a/pcmdi_metrics/graphics/parallel_coordinate_plot/parallel_coordinate_plot_lib.py +++ b/pcmdi_metrics/graphics/parallel_coordinate_plot/parallel_coordinate_plot_lib.py @@ -168,7 +168,7 @@ def parallel_coordinate_plot( showextrema=False, ) for pc in violin["bodies"]: - pc.set_facecolor("grey") + pc.set_facecolor(violin_colors[0]) pc.set_edgecolor("None") pc.set_alpha(0.8) else: