Skip to content

Commit

Permalink
Update palette name
Browse files Browse the repository at this point in the history
  • Loading branch information
johnne committed Nov 28, 2024
1 parent 037d7e5 commit 8ea62ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/jupyter.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
```

Expand Down Expand Up @@ -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)
```
Expand Down

0 comments on commit 8ea62ac

Please sign in to comment.