Skip to content

Commit 360fdc3

Browse files
authored
Merge pull request #179 from ACCLAB/patch-docstring-fix
Patch docstring fix
2 parents f8fa263 + 8e278d1 commit 360fdc3

7 files changed

Lines changed: 52 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
44

55
[![minimal Python
6-
version](https://img.shields.io/badge/Python%3E%3D-3.8-6666ff.svg)](https://www.anaconda.com/distribution/)
6+
version](https://img.shields.io/badge/Python%3E%3D-3.9-6666ff.svg)](https://www.anaconda.com/distribution/)
77
[![PyPI
88
version](https://badge.fury.io/py/dabest.svg)](https://badge.fury.io/py/dabest)
99
[![Downloads](https://img.shields.io/pepy/dt/dabest.svg)](https://pepy.tech/project/dabest)

dabest/_stats_tools/effsize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def cohens_h(control:list|tuple|np.ndarray,
223223
)->float:
224224
'''
225225
Computes Cohen's h for test v.s. control.
226-
See [here](https://en.wikipedia.org/wiki/Cohen%27s_h for reference.)
226+
See [here](https://en.wikipedia.org/wiki/Cohen%27s_h) for reference.
227227
228228
`Notes`:
229229

nbs/API/effsize.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
" )->float:\n",
302302
" '''\n",
303303
" Computes Cohen's h for test v.s. control.\n",
304-
" See [here](https://en.wikipedia.org/wiki/Cohen%27s_h for reference.)\n",
304+
" See [here](https://en.wikipedia.org/wiki/Cohen%27s_h) for reference.\n",
305305
" \n",
306306
" `Notes`:\n",
307307
" \n",

nbs/API/plotter.ipynb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,52 @@
648648
" # Return the figure.\n",
649649
" return fig"
650650
]
651+
},
652+
{
653+
"cell_type": "markdown",
654+
"id": "7355251f",
655+
"metadata": {},
656+
"source": [
657+
"For details on how to control the aesthetic of the generated estimation plot by modifying the **plot_kwargs**, please refer to [Controlling Plot Aesthetics](../tutorials/06-plot_aesthetics.ipynb)\n",
658+
"\n",
659+
"- **effectsize_df**: A `dabest` `EffectSizeDataFrame` object.\n",
660+
"- **plot_kwargs**:\n",
661+
" - color_col=None\n",
662+
" - raw_marker_size=6, es_marker_size=9,\n",
663+
" - swarm_label=None, contrast_label=None, delta2_label=None,\n",
664+
" - swarm_ylim=None, contrast_ylim=None, delta2_ylim=None,\n",
665+
" - custom_palette=None, swarm_desat=0.5, halfviolin_desat=1,\n",
666+
" - halfviolin_alpha=0.8,\n",
667+
" - face_color = None,\n",
668+
" - bar_label=None, bar_desat=0.8, bar_width = 0.5,bar_ylim = None,\n",
669+
" - ci=None, ci_type='bca', err_color=None,\n",
670+
" - float_contrast=True,\n",
671+
" - show_pairs=True,\n",
672+
" - show_delta2=True,\n",
673+
" - group_summaries=None,\n",
674+
" - group_summaries_offset=0.1,\n",
675+
" - fig_size=None,\n",
676+
" - dpi=100,\n",
677+
" - ax=None,\n",
678+
" - gridkey_rows=None,\n",
679+
" - swarmplot_kwargs=None,\n",
680+
" - violinplot_kwargs=None,\n",
681+
" - slopegraph_kwargs=None,\n",
682+
" - sankey_kwargs=None,\n",
683+
" - reflines_kwargs=None,\n",
684+
" - group_summary_kwargs=None,\n",
685+
" - egend_kwargs=None,\n",
686+
" - title=None, fontsize_title=16,\n",
687+
" - fontsize_rawxlabel=12, fontsize_rawylabel=12,\n",
688+
" - fontsize_contrastxlabel=12, fontsize_contrastylabel=12,\n",
689+
" - fontsize_delta2label=12"
690+
]
691+
},
692+
{
693+
"cell_type": "markdown",
694+
"id": "f1cc27d4",
695+
"metadata": {},
696+
"source": []
651697
}
652698
],
653699
"metadata": {

nbs/read_me.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"id": "5164f940",
1414
"metadata": {},
1515
"source": [
16-
"[![minimal Python version](https://img.shields.io/badge/Python%3E%3D-3.8-6666ff.svg)](https://www.anaconda.com/distribution/)\n",
16+
"[![minimal Python version](https://img.shields.io/badge/Python%3E%3D-3.9-6666ff.svg)](https://www.anaconda.com/distribution/)\n",
1717
"[![PyPI version](https://badge.fury.io/py/dabest.svg)](https://badge.fury.io/py/dabest)\n",
1818
"[![Downloads](https://img.shields.io/pepy/dt/dabest.svg\n",
1919
")](https://pepy.tech/project/dabest)\n",

nbs/tutorials/03-proportion_plot.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
"To generate a proportion plot, the **dabest** library features two effect sizes:\n",
453453
"\n",
454454
" - the mean difference (``mean_diff``)\n",
455-
" - [Cohen's h](https://en.wikipedia.org/wiki/Cohen%27s_h) (``cohens_h``)\n",
455+
" - [Cohen's h](https://en.wikipedia.org/wiki/Cohen's_h) (`cohens_h`)\n",
456456
"\n",
457457
"These are attributes of the ``Dabest`` object."
458458
]

nbs/tutorials/04-mini_meta_delta.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"\n",
4848
"Additionally, be aware that as of v2023.02.14, DABEST can only compute weighted effect size *for mean difference only*, and not for standardized measures such as Cohen's *d*.\n",
4949
"\n",
50-
"For more information on meta-analysis, please refer to Chapter 10 of the Cochrane handbook: https://training.cochrane.org/handbook/current/chapter-10\n"
50+
"For more information on meta-analysis, please refer to [Chapter 10 of the Cochrane handbook](https://training.cochrane.org/handbook/current/chapter-10)"
5151
]
5252
},
5353
{

0 commit comments

Comments
 (0)