Skip to content

Commit 4370e5a

Browse files
committed
Format Python cell with ruff
1 parent 971cd14 commit 4370e5a

File tree

1 file changed

+12
-9
lines changed
  • docs/get-started/hello/_positron/python

1 file changed

+12
-9
lines changed

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ The `penguins` data contains size measurements for `{python} len(penguins)` peng
2323
#| warning: false
2424
#| echo: false
2525
26-
(ggplot(penguins,
27-
aes(x='flipper_length_mm', y='bill_length_mm')) +
28-
geom_point(aes(color='species', shape='species')) +
29-
scale_color_manual(values=["#FF8C00","#A020F0","#008B8B"]) +
30-
labs(
31-
x="Flipper length (mm)", y="Bill length (mm)",
32-
color="Penguin species", shape="Penguin species"
33-
) +
34-
theme_minimal())
26+
(
27+
ggplot(penguins, aes(x="flipper_length_mm", y="bill_length_mm"))
28+
+ geom_point(aes(color="species", shape="species"))
29+
+ scale_color_manual(values=["#FF8C00", "#A020F0", "#008B8B"])
30+
+ labs(
31+
x="Flipper length (mm)",
32+
y="Bill length (mm)",
33+
color="Penguin species",
34+
shape="Penguin species",
35+
)
36+
+ theme_minimal()
37+
)
3538
```

0 commit comments

Comments
 (0)