Skip to content

Commit 6f4479b

Browse files
committed
Update index.qmd.py to accommodate fastcore 2
starmap => star
1 parent 4557fd0 commit 6f4479b

4 files changed

Lines changed: 54 additions & 117 deletions

File tree

README.md

Lines changed: 46 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -3,76 +3,54 @@
33

44
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
55

6-
[![minimal Python
7-
version](https://img.shields.io/badge/Python%3E%3D-3.10-6666ff.svg)](https://www.anaconda.com/distribution/)
8-
[![PyPI
9-
version](https://badge.fury.io/py/dabest.svg)](https://badge.fury.io/py/dabest)
6+
[![minimal Python version](https://img.shields.io/badge/Python%3E%3D-3.10-6666ff.svg)](https://www.anaconda.com/distribution/)
7+
[![PyPI version](https://badge.fury.io/py/dabest.svg)](https://badge.fury.io/py/dabest)
108
[![Downloads](https://img.shields.io/pepy/dt/dabest.svg)](https://pepy.tech/project/dabest)
11-
[![Free-to-view
12-
citation](https://zenodo.org/badge/DOI/10.1038/s41592-019-0470-3.svg)](https://rdcu.be/bHhJ4)
9+
[![Free-to-view citation](https://zenodo.org/badge/DOI/10.1038/s41592-019-0470-3.svg)](https://rdcu.be/bHhJ4)
1310
[![License](https://img.shields.io/badge/License-BSD%203--Clause--Clear-orange.svg)](https://spdx.org/licenses/BSD-3-Clause-Clear.html)
1411

1512
## Recent Version Update
1613

1714
**✨ DABEST “Bingka” v2025.10.20 for Python is now released! ✨**
1815

19-
Dear DABEST users, The latest version of the DABEST Python library
20-
brings new visualizations, refined plots, and improved accuracy.
16+
Dear DABEST users,
17+
The latest version of the DABEST Python library brings new visualizations, refined plots, and improved accuracy.
2118

2219
1. **Whorlmap 🌀: Compact visualization for multi-dimensional effects**
2320

24-
Introducing **Whorlmap**, a new way to visualize effect sizes from
25-
multiple comparisons in a compact, grid-based format.
21+
Introducing **Whorlmap**, a new way to visualize effect sizes from multiple comparisons in a compact, grid-based format.
2622

27-
Whorlmaps condense information from the full bootstrap distributions
28-
of many contrast objects into a **2D heatmap-style grid of “whorled”
29-
cells**. This provides an overview of the entire dataset while
30-
preserving the underlying distributional detail.
23+
Whorlmaps condense information from the full bootstrap distributions of many contrast objects into a **2D heatmap-style grid of “whorled” cells**. This provides an overview of the entire dataset while preserving the underlying distributional detail.
3124

32-
They are especially useful for large-scale or multi-condition
33-
experiments, serving as a **space-efficient alternative to stacked
34-
forest plots**.
25+
They are especially useful for large-scale or multi-condition experiments, serving as a **space-efficient alternative to stacked forest plots**.
3526

36-
You can generate a Whorlmap directly from multi-dimensional DABEST
37-
objects using the `.whorlmap()` method. See the [Whorlmap
38-
tutorial](https://acclab.github.io/DABEST-python/tutorials/10-whorlmap.html)
39-
for more details.
27+
You can generate a Whorlmap directly from multi-dimensional DABEST objects using the `.whorlmap()` method. See the [Whorlmap tutorial](https://acclab.github.io/DABEST-python/tutorials/10-whorlmap.html) for more details.
4028

4129
2. **Slopegraphs 📈: Enhanced summaries for paired data**
4230

43-
Slopegraphs for paired continuous data now display **group summary
44-
statistics**.
31+
Slopegraphs for paired continuous data now display **group summary statistics**.
4532

46-
- By default, a thick trend line connects group means, with vertical
47-
bars showing standard deviation.
33+
- By default, a thick trend line connects group means, with vertical bars showing standard deviation.
4834

49-
- Choose the summary type via the group_summaries argument in
50-
`.plot()` — options include `'mean_sd'`, `'median_quartiles'`, or
51-
`None`.
35+
- Choose the summary type via the group_summaries argument in `.plot()` — options include `'mean_sd'`, `'median_quartiles'`, or `None`.
5236

5337
- Customize appearance with `group_summaries_kwargs`.
5438

55-
See the Group Summaries section in the [Plot Aesthetics
56-
tutorial](https://acclab.github.io/DABEST-python/tutorials/08-plot_aesthetics.html)
57-
for more details.
39+
See the Group Summaries section in the [Plot Aesthetics tutorial](https://acclab.github.io/DABEST-python/tutorials/08-plot_aesthetics.html) for more details.
5840

5941
3. **Mini-meta Weighted Delta Fix 🧮**
6042

61-
The weighted delta calculation in mini-meta plots has been updated
62-
for **greater accuracy and consistency**.
43+
The weighted delta calculation in mini-meta plots has been updated for **greater accuracy and consistency**.
6344

6445
4. **Expanded custom_palette functionality 🎨**
6546

66-
- **Barplots (unpaired, proportional):** `custom_palette` can now
67-
take `1` and `0` as dictionary keys to color the filled and
68-
unfilled portions of the plot.
47+
- **Barplots (unpaired, proportional):**
48+
`custom_palette` can now take `1` and `0` as dictionary keys to color the filled and unfilled portions of the plot.
6949

70-
- **Slopegraphs (paired, non-proportional):** `custom_palette` can
71-
now color contrast bars and effect-size curves.
50+
- **Slopegraphs (paired, non-proportional):**
51+
`custom_palette` can now color contrast bars and effect-size curves.
7252

73-
See the Custom Palette section in the [Plot Aesthetics
74-
tutorial](https://acclab.github.io/DABEST-python/tutorials/08-plot_aesthetics.html)
75-
for examples.
53+
See the Custom Palette section in the [Plot Aesthetics tutorial](https://acclab.github.io/DABEST-python/tutorials/08-plot_aesthetics.html) for examples.
7654

7755
Thank you for your continued support!
7856

@@ -96,38 +74,24 @@ Thank you for your continued support!
9674

9775
## About
9876

99-
DABEST is a package for **D**ata **A**nalysis using
100-
**B**ootstrap-Coupled **EST**imation.
77+
DABEST is a package for **D**ata **A**nalysis using **B**ootstrap-Coupled **EST**imation.
10178

102-
[Estimation
103-
statistics](https://en.wikipedia.org/wiki/Estimation_statistics) are a
104-
[simple framework](https://thenewstatistics.com/itns/) that avoids the
105-
[pitfalls](https://www.nature.com/articles/nmeth.3288) of significance
106-
testing. It employs familiar statistical concepts such as means, mean
107-
differences, and error bars. More importantly, it focuses on the effect
108-
size of one’s experiment or intervention, rather than succumbing to a
109-
false dichotomy engendered by *P* values.
79+
[Estimation statistics](https://en.wikipedia.org/wiki/Estimation_statistics) are a [simple framework](https://thenewstatistics.com/itns/) that avoids the [pitfalls](https://www.nature.com/articles/nmeth.3288) of significance testing. It employs familiar statistical concepts such as means, mean differences, and error bars. More importantly, it focuses on the effect size of one’s experiment or intervention, rather than succumbing to a false dichotomy engendered by *P* values.
11080

11181
An estimation plot comprises two key features.
11282

113-
1. It presents all data points as a swarm plot, ordering each point to
114-
display the underlying distribution.
83+
1. It presents all data points as a swarm plot, ordering each point to display the underlying distribution.
11584

116-
2. It illustrates the effect size as a **bootstrap 95% confidence
117-
interval** on a **separate but aligned axis**.
85+
2. It illustrates the effect size as a **bootstrap 95% confidence interval** on a **separate but aligned axis**.
11886

119-
![The five kinds of estimation
120-
plots](showpiece.png "The five kinds of estimation plots.")
87+
![The five kinds of estimation plots](showpiece.png "The five kinds of estimation plots.")
12188

122-
DABEST powers [estimationstats.com](https://www.estimationstats.com/),
123-
allowing everyone access to high-quality estimation plots.
89+
DABEST powers [estimationstats.com](https://www.estimationstats.com/), allowing everyone access to high-quality estimation plots.
12490

12591
## Installation
12692

127-
This package is tested on Python 3.11 and onwards. It is highly
128-
recommended to download the [Anaconda
129-
distribution](https://www.continuum.io/downloads) of Python in order to
130-
obtain the dependencies easily.
93+
This package is tested on Python 3.11 and onwards.
94+
It is highly recommended to download the [Anaconda distribution](https://www.continuum.io/downloads) of Python in order to obtain the dependencies easily.
13195

13296
You can install this package via `pip`.
13397

@@ -137,9 +101,7 @@ To install, at the command line run
137101
pip install dabest
138102
```
139103

140-
You can also
141-
[clone](https://help.github.com/articles/cloning-a-repository) this repo
142-
locally.
104+
You can also [clone](https://help.github.com/articles/cloning-a-repository) this repo locally.
143105

144106
Then, navigate to the cloned repo in the command line and run
145107

@@ -164,87 +126,57 @@ iris_dabest = dabest.load(data=iris, x="species", y="petal_width",
164126
iris_dabest.mean_diff.plot();
165127
```
166128

167-
![A Cumming estimation plot of petal width from the iris
168-
dataset](iris.png)
129+
![A Cumming estimation plot of petal width from the iris dataset](iris.png)
169130

170-
Please refer to the official
171-
[tutorial](https://acclab.github.io/DABEST-python/) for more useful code
172-
snippets.
131+
Please refer to the official [tutorial](https://acclab.github.io/DABEST-python/) for more useful code snippets.
173132

174133
## How to cite
175134

176135
**Getting over ANOVA: Estimation graphics for multi-group comparisons**
177136

178-
*Zinan Lu, Jonathan Anns, Yishan Mai, Rou Zhang, Kahseng Lian, Nicole
179-
MynYi Lee, Shan Hashir, Lucas Wang Zhuoyu, A. Rosa Castillo Gonzalez,
180-
Joses Ho, Hyungwon Choi, Sangyu Xu, Adam Claridge-Chang*
137+
*Zinan Lu, Jonathan Anns, Yishan Mai, Rou Zhang, Kahseng Lian, Nicole MynYi Lee, Shan Hashir, Lucas Wang Zhuoyu, A. Rosa Castillo Gonzalez, Joses Ho, Hyungwon Choi, Sangyu Xu, Adam Claridge-Chang*
181138

182-
bioRxiv preprint 2026.
183-
[10.64898/2026.01.26.701654](http://dx.doi.org/10.64898/2026.01.26.701654)
139+
bioRxiv preprint 2026. [10.64898/2026.01.26.701654](http://dx.doi.org/10.64898/2026.01.26.701654)
184140

185141
[PDF](https://www.biorxiv.org/content/10.64898/2026.01.26.701654v1.full.pdf)
186142

187143
**Moving beyond P values: Everyday data analysis with estimation plots**
188144

189-
*Joses Ho, Tayfun Tumkaya, Sameer Aryal, Hyungwon Choi, Adam
190-
Claridge-Chang*
145+
*Joses Ho, Tayfun Tumkaya, Sameer Aryal, Hyungwon Choi, Adam Claridge-Chang*
191146

192-
Nature Methods 2019, 1548-7105.
193-
[10.1038/s41592-019-0470-3](http://dx.doi.org/10.1038/s41592-019-0470-3)
147+
Nature Methods 2019, 1548-7105. [10.1038/s41592-019-0470-3](http://dx.doi.org/10.1038/s41592-019-0470-3)
194148

195-
[Paywalled publisher
196-
site](https://www.nature.com/articles/s41592-019-0470-3); [Free-to-view
197-
PDF](https://rdcu.be/bHhJ4)
149+
[Paywalled publisher site](https://www.nature.com/articles/s41592-019-0470-3); [Free-to-view PDF](https://rdcu.be/bHhJ4)
198150

199151
## Bugs
200152

201-
Please report any bugs on the [issue
202-
page](https://github.com/ACCLAB/DABEST-python/issues/new).
153+
Please report any bugs on the [issue page](https://github.com/ACCLAB/DABEST-python/issues/new).
203154

204155
## Contributing
205156

206-
All contributions are welcome; please read the [Guidelines for
207-
contributing](../CONTRIBUTING.md) first.
157+
All contributions are welcome; please read the [Guidelines for contributing](../CONTRIBUTING.md) first.
208158

209-
We also have a [Code of Conduct](../CODE_OF_CONDUCT.md) to foster an
210-
inclusive and productive space.
159+
We also have a [Code of Conduct](../CODE_OF_CONDUCT.md) to foster an inclusive and productive space.
211160

212161
### A wish list for new features
213162

214-
If you have any specific comments and ideas for new features that you
215-
would like to share with us, please read the [Guidelines for
216-
contributing](../CONTRIBUTING.md), create a new issue using Feature
217-
request template or create a new post in [our Google
218-
Group](https://groups.google.com/g/estimationstats).
163+
If you have any specific comments and ideas for new features that you would like to share with us, please read the [Guidelines for contributing](../CONTRIBUTING.md), create a new issue using Feature request template or create a new post in [our Google Group](https://groups.google.com/g/estimationstats).
219164

220165
## Acknowledgements
221166

222-
We would like to thank alpha testers from the [Claridge-Chang
223-
lab](https://www.claridgechang.net/): [Sangyu
224-
Xu](https://github.com/sangyu), [Xianyuan
225-
Zhang](https://github.com/XYZfar), [Farhan
226-
Mohammad](https://github.com/farhan8igib), Jurga Mituzaitė, and
227-
Stanislav Ott.
167+
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.
228168

229169
## Testing
230170

231-
To test DABEST, you need to install
232-
[pytest](https://docs.pytest.org/en/latest) and
233-
[nbdev](https://nbdev.fast.ai/).
171+
To test DABEST, you need to install [pytest](https://docs.pytest.org/en/latest) and [nbdev](https://nbdev.fast.ai/).
234172

235-
- Run `pytest` in the root directory of the source distribution. This
236-
runs the test suite in the folder `dabest/tests/mpl_image_tests`.
237-
- Run `nbdev_test` in the root directory of the source distribution.
238-
This runs the value assertion tests in the folder `dabest/tests`
173+
- Run `pytest` in the root directory of the source distribution. This runs the test suite in the folder `dabest/tests/mpl_image_tests`.
174+
- Run `nbdev_test` in the root directory of the source distribution. This runs the value assertion tests in the folder `dabest/tests`
239175

240-
The test suite ensures that the bootstrapping functions and the plotting
241-
functions perform as expected.
176+
The test suite ensures that the bootstrapping functions and the plotting functions perform as expected.
242177

243-
For detailed information, please refer to the [test
244-
folder](../nbs/tests/README.md)
178+
For detailed information, please refer to the [test folder](../nbs/tests/README.md)
245179

246180
## DABEST in other languages
247181

248-
DABEST is also available in R
249-
([dabestr](https://github.com/ACCLAB/dabestr)) and Matlab
250-
([DABEST-Matlab](https://github.com/ACCLAB/DABEST-Matlab)).
182+
DABEST is also available in R ([dabestr](https://github.com/ACCLAB/dabestr)) and Matlab ([DABEST-Matlab](https://github.com/ACCLAB/DABEST-Matlab)).

nbs/index.qmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
toc: false
88
---"""
99

10-
from fastcore.foundation import L
10+
from fastcore.foundation import L, star
1111
from nbdev import qmd
1212

1313
def img(fname, classes=None, **kwargs): return qmd.img(f"images/{fname}", classes=classes, **kwargs)
@@ -39,7 +39,7 @@ def testm(im, nm, detl, txt):
3939

4040
def feature(im, desc): return qmd.div(f"{img(im+'.svg')}\n\n{desc}\n", ['feature', 'g-col-12', 'g-col-sm-6', 'g-col-md-4'])
4141

42-
feature_d = qmd.div('\n'.join(features.starmap(feature)), ['grid', 'gap-4'], style={"padding-bottom": "60px"})
42+
feature_d = qmd.div('\n'.join(features.map(star(feature))), ['grid', 'gap-4'], style={"padding-bottom": "60px"})
4343

4444
def b(*args, **kwargs): print(banner (*args, **kwargs))
4545
def d(*args, **kwargs): print(qmd.div(*args, **kwargs))

nbs/nbdev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ website:
77
description: "Data Analysis and Visualization using Bootstrap-Coupled Estimation."
88
repo-branch: master
99
repo-url: "https://github.com/acclab/DABEST-python"
10+
11+
format-links:
12+
- html
13+
- format: commonmark
14+
text: Markdown

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = {text = "Apache-2.0"}
1212
authors = [{name = "Joses W. Ho", email = "joseshowh@gmail.com"}]
1313
keywords = ['nbdev', 'jupyter', 'notebook', 'python']
1414
classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
15-
dependencies = ['fastcore>=1.14.1,<2', 'pandas~=2.2.3', 'numpy~=2.1.0', 'matplotlib~=3.10.0', 'seaborn~=0.13.2', 'scipy~=1.15.2', 'numba~=0.61.0', 'datetime', 'statsmodels', 'lqrt', 'tqdm']
15+
dependencies = ['fastcore', 'pandas~=2.2.3', 'numpy~=2.1.0', 'matplotlib~=3.10.0', 'seaborn~=0.13.2', 'scipy~=1.15.2', 'numba~=0.61.0', 'datetime', 'statsmodels', 'lqrt', 'tqdm']
1616

1717
[project.urls]
1818
Repository = "https://github.com/acclab/DABEST-python"

0 commit comments

Comments
 (0)