diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e59d562c..697a8fff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Other changes +* Update penguins example to credit Allison Horst and drop usage of `shiny.experimental` (#798). + ## [0.6.0] - 2023-08-08 diff --git a/examples/penguins/app.py b/examples/penguins/app.py index bb4a52fe0..d10b7e7aa 100644 --- a/examples/penguins/app.py +++ b/examples/penguins/app.py @@ -8,7 +8,6 @@ import seaborn as sns from colors import bg_palette, palette -import shiny.experimental as x from shiny import App, Inputs, Outputs, Session, reactive, render, req, ui sns.set_theme() @@ -45,6 +44,11 @@ ), ui.output_ui("value_boxes"), ui.output_plot("scatter", fill=True), + ui.help_text( + "Artwork by ", + ui.a("@allison_horst", href="https://twitter.com/allison_horst"), + class_="text-end", + ), ) @@ -83,7 +87,7 @@ def value_boxes(): df = filtered_df() def penguin_value_box(title: str, count: int, bgcol: str, showcase_img: str): - return x.ui.value_box( + return ui.value_box( title, count, {"class": "pt-1 pb-0"},