Skip to content

Commit 2edb0e2

Browse files
authored
Fix dataset
1 parent ad881c3 commit 2edb0e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_patchworklib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ def test_example_plot(tmp_path: Path):
2929

3030

3131
def test_sns_and_p9(tmp_path: Path):
32-
fmri = sns.load_dataset("fmri")
32+
titanic = sns.load_dataset("titanic")
3333

3434
g_sns = pw.Brick(figsize=(4, 4))
35-
sns.boxplot(data=fmri, x="sex", y="survived", hue="class", ax=g_sns)
35+
sns.boxplot(data=titanic, x="sex", y="survived", hue="class", ax=g_sns)
3636
g_sns.set_title("seaborn")
3737

3838
g_p9 = pw.load_ggplot(
3939
(
40-
p9.ggplot(fmri, p9.aes(x="sex", y="survived", fill="hue"))
40+
p9.ggplot(titanic, p9.aes(x="sex", y="survived", fill="hue"))
4141
+ p9.geom_boxplot()
4242
+ p9.ggtitle("plotnine")
4343
),

0 commit comments

Comments
 (0)