Skip to content

Commit 379966c

Browse files
committed
Use penguins from plotnine
1 parent e547bbb commit 379966c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/get-started/hello/_positron/python/hello.qmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ format: html
88
#| include: false
99
1010
from plotnine import *
11-
from palmerpenguins import load_penguins
12-
13-
penguins = load_penguins()
11+
from plotnine.data import penguins
1412
```
1513

1614
## Meet the penguins
1715

18-
The `penguins` data from the [**palmerpenguins**](https://github.com/mcnakhaee/palmerpenguins) package contains size measurements for `{python} len(penguins)` penguins from three species observed on three islands in the Palmer Archipelago, Antarctica.
16+
The `penguins` data contains size measurements for `{python} len(penguins)` penguins from three species observed on three islands in the Palmer Archipelago, Antarctica.
1917

2018
@fig-plot-penguins shows the relationship between flipper and bill lengths of these penguins.
2119

docs/get-started/hello/positron.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ If you would like to follow along with this tutorial in your own environment, fo
8585

8686
## Python
8787

88-
1. Install the `jupyter`, `plotnine` and `palmerpenguins` packages using your preferred method. For example, with `pip`:
88+
1. Install the `jupyter` and `plotnine` packages using your preferred method. For example, with `pip`:
8989

9090
``` bash
91-
pip install jupyter plotnine palmerpenguins
91+
pip install jupyter plotnine
9292
```
9393

9494
2. Download the Quarto document (`.qmd`) below, open it in Positron.

0 commit comments

Comments
 (0)