Skip to content

Commit 24c7aa1

Browse files
committed
Don't use palmerpenguins package for python
1 parent 24f64ac commit 24c7aa1

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/get-started/hello/positron.qmd

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ Code cells are identified with `{python}`:
188188
#| label: load-packages
189189
#| include: false
190190
from plotnine import *
191-
from palmerpenguins import load_penguins
192-
193-
penguins = load_penguins()
191+
from plotnine.data import penguins
194192
```
195193
````
196194

@@ -223,12 +221,25 @@ Positron executes the code in the Console and displays the results.
223221
Narrative content is written using markdown.
224222
For example, the following excerpt includes a section heading (`## heading`), text formatted as code (`` `code` ``) and a link (`[text](url)`):
225223

224+
225+
::: {.panel-tabset group="language"}
226+
## R
227+
226228
```markdown
227229
## Meet the Palmer penguins
228230

229231
The `penguins` data from the [**palmerpenguins**](https://allisonhorst.github.io/palmerpenguins) package contains...
230232
```
231233

234+
## Python
235+
236+
```markdown
237+
## Meet the Palmer penguins
238+
239+
The `penguins` data from the [plotnine](https://plotnine.org/reference/penguins.html) package contains...
240+
```
241+
:::
242+
232243
Quarto supports markdown syntax for basic text formatting, tables, and images, as well as advanced features like citations, cross-references, and equations.
233244
You can learn more about markdown in the [Markdown Basics](/docs/authoring/markdown-basics.qmd) documentation.
234245

0 commit comments

Comments
 (0)