You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@
8
8
9
9
10
10
## Did you write a patch that fixes a bug?
11
-
- Open a new GitHub [pull request](https://help.github.com/en/articles/about-pull-requests)(PR for short) with the patch.
11
+
- Open a new GitHub [pull request](https://help.github.com/en/articles/about-pull-requests)(PR for short) with the patch.
12
12
13
-
- Create the PR into the development branch, which is indicated by `v{latest version number}_dev`.
13
+
- Create the PR into the development branch, which is indicated by `v{latest version number}-dev`.
14
14
15
15
- Clearly state the problem and solution in the PR description. Include the relevant [issue number](https://guides.github.com/features/issues/) if applicable.
DABEST is a package for **D**ata **A**nalysis using **B**ootstrap-Coupled **EST**imation.
@@ -22,21 +23,12 @@ An estimation plot has two key features.
22
23
23
24
DABEST powers [estimationstats.com](https://www.estimationstats.com/), allowing everyone access to high-quality estimation plots.
24
25
25
-
## Requirements
26
-
27
-
DABEST has been tested on Python 3.5, 3.6, and 3.7.
28
-
29
-
In addition, the following packages are also required:
30
-
-[numpy](https://www.numpy.org) (1.15)
31
-
-[scipy](https://www.scipy.org) (1.2)
32
-
-[matplotlib](https://www.matplotlib.org) (3.0)
33
-
-[seaborn](https://seaborn.pydata.org) (0.9)
34
-
-[pandas](https://pandas.pydata.org) (0.24).
35
-
36
-
To obtain these package dependencies easily, it is highly recommended to download the [Anaconda distribution](https://www.continuum.io/downloads) of Python.
37
26
38
27
## Installation
39
28
29
+
This package is tested on Python 3.5, 3.6, and 3.7.
30
+
It is highly recommended to download the [Anaconda distribution](https://www.continuum.io/downloads) of Python in order to obtain the dependencies easily.
31
+
40
32
You can install this package via `pip`.
41
33
42
34
To install, at the command line run
@@ -56,6 +48,7 @@ Then, navigate to the cloned repo in the command line and run
56
48
pip install .
57
49
```
58
50
51
+
59
52
## Usage
60
53
61
54
```python3
@@ -99,6 +92,7 @@ All contributions are welcome; please read the [Guidelines for contributing](htt
99
92
100
93
We also have a [Code of Conduct](https://github.com/ACCLAB/DABEST-python/blob/master/CODE_OF_CONDUCT.md) to foster an inclusive and productive space.
101
94
95
+
102
96
## Acknowledgements
103
97
104
98
We would like to thank alpha testers from the [Claridge-Chang lab](https://www.claridgechang.net/): [Sangyu Xu](https://github.com/sangyu), [Xianyuan Zhang](https://github.com/XYZfar), [Farhan Mohammad](https://github.com/farhan8igib), Jurga Mituzaitė, and Stanislav Ott.
A :class:`matplotlib.figure.Figure` with 2 Axes, if ``ax = None``.
1229
+
1211
1230
The first axes (accessible with ``FigName.axes[0]``) contains the rawdata swarmplot; the second axes (accessible with ``FigName.axes[1]``) has the bootstrap distributions and effect sizes (with confidence intervals) plotted on it.
1231
+
1232
+
If ``ax`` is specified, the rawdata swarmplot is accessed at ``ax``
1233
+
itself, while the effect size axes is accessed at ``ax.contrast_axes``.
Copy file name to clipboardExpand all lines: dabest/tests/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
# Testing
2
2
3
-
We use [pytest](https://docs.pytest.org/en/latest) to execute the tests. More documentation of the testing paradigm will be added in the near future.
3
+
We use [pytest](https://docs.pytest.org/en/latest) to execute the tests. For testing of plot generation, we use the [mpl plugin](https://github.com/matplotlib/pytest-mpl) for pytest. A range of different plots are created, and compared against the baseline images in the `baseline_images` subfolder.
4
4
5
5
To run the tests, go to the root of this repo directory and run
0 commit comments