From 8ea62aca4ff6e7cfdee3aab6f55187fed875f432 Mon Sep 17 00:00:00 2001 From: John Sundh Date: Thu, 28 Nov 2024 09:10:21 +0100 Subject: [PATCH] Update palette name --- pages/jupyter.qmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/jupyter.qmd b/pages/jupyter.qmd index 6a6704d2..11639cac 100644 --- a/pages/jupyter.qmd +++ b/pages/jupyter.qmd @@ -547,7 +547,7 @@ interactive_scatterplot = interactive(scatterplot, x=["bill_length_mm","bill_depth_mm","flipper_length_mm","body_mass_g"], y=["body_mass_g","bill_length_mm","bill_depth_mm","flipper_length_mm"], hue=["species","island","sex"], - palette=["Set1","Set2","Dark2","Paired2"]) + palette=["Set1","Set2","Dark2","Paired"]) ``` Importantly, all parameters defined in the `scatterplot` function must be given @@ -596,7 +596,7 @@ interactive_scatterplot = interactive(scatterplot, x=["bill_length_mm","bill_depth_mm","flipper_length_mm","body_mass_g"], y=["body_mass_g","bill_length_mm","bill_depth_mm","flipper_length_mm",], hue=["species","island","sex"], - palette=["Set1","Set2","Dark2","Paired2"], + palette=["Set1","Set2","Dark2","Paired"], size=(20,100,10)) ``` @@ -655,7 +655,7 @@ interactive_scatterplot = interactive(scatterplot, x=["bill_length_mm","bill_depth_mm","flipper_length_mm","body_mass_g"], y=["body_mass_g","bill_length_mm","bill_depth_mm","flipper_length_mm"], hue=["species","island","sex"], - palette=["Set1","Set2","Dark2","Paired2"], + palette=["Set1","Set2","Dark2","Paired"], size=(20, 100, 10), color=colorpicker) ```