Skip to content

Commit

Permalink
Merge pull request #127 from sunroofgod/effsize
Browse files Browse the repository at this point in the history
update: removed plot_kwargs demo for teaser
  • Loading branch information
sunroofgod committed Aug 22, 2023
2 parents b5ba11f + 9323d50 commit 2df69a4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions vignettes/tutorial_proportion_plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,4 @@ dabest_plot(separate_control.mean_diff, swarm_y_text = 11, contrast_y_text = 11,
sankey = FALSE)
dabest_plot(separate_control.mean_diff, swarm_y_text = 11, contrast_y_text = 11,
flow = FALSE)
```

Several exclusive parameters can be supplied to the `dabest_plot()` function to customize the paired proportional plot. By adding available `plot_kwargs`, you can customize the Paired Proportions plot. The following parameters are supported:

- `sankey_alpha`: The transparency of each bar. Default is 0.5.
- `raw_bar_width`: The width of each bar. Default is 0.3.

```{r}
dabest_plot(two_groups_baseline.mean_diff, sankey_alpha = 0.8)
```
```

0 comments on commit 2df69a4

Please sign in to comment.