Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
9f33da3
Updated errorbar handling of xspans to properly account for when hue …
sunroofgod Mar 24, 2024
8edb941
Updated errorbar handling of xspans to properly account for when hue …
sunroofgod Mar 24, 2024
4b928b7
Updated swarmplot to produce legends if plotting by hue column
sunroofgod Mar 24, 2024
d712e8e
Fix non-string input issue
Jacobluke- Mar 25, 2024
e5b26a1
Fix an error causing xtick label wrong
Jacobluke- Mar 25, 2024
856c1a6
1st removal of pandas function
Jacobluke- Mar 31, 2024
4676780
Improvement for lqrt and update of notebooks
Jacobluke- Apr 2, 2024
7651923
Added preliminary code
JAnns98 Apr 5, 2024
7f7e8a3
Numba optimized bootstrap calculation
Jacobluke- Apr 9, 2024
7bda513
Fully functioning summary bars
JAnns98 Apr 9, 2024
dbb62c3
feat: update api, tutorial, and tests
Lucas1213WZY Apr 12, 2024
7ef4681
Add: new test images
Lucas1213WZY Apr 12, 2024
cb28e6c
Added summary bars and edited aesthetic of contrast and swarm bars
JAnns98 Apr 12, 2024
e7fe0dd
Jitting almost done
Jacobluke- Apr 15, 2024
b6a02f0
Fixed some docstring issues
Jacobluke- Apr 16, 2024
9b0c918
Merge branch 'v2024.03.29' of github.com:ACCLAB/DABEST-python into JA…
Jacobluke- Apr 16, 2024
cb195d8
tst
Jacobluke- Apr 16, 2024
b922c16
nbdev-related fix
Jacobluke- Apr 16, 2024
aa6a84c
Place holder for forest plot tutorial
Jacobluke- Apr 16, 2024
bd7bcde
Merge branch 'feat-forestplot-apiTut-changes' of github.com:ACCLAB/DA…
Jacobluke- Apr 16, 2024
95bea8a
Fix on nbdev diff
Jacobluke- Apr 16, 2024
d4d62cf
Moved the summary bars, contrast bars, and swarm bars into plot_tools
JAnns98 Apr 17, 2024
26e9fde
Restrict input for each func, clean test script
Jacobluke- Apr 24, 2024
cfa479f
Slight formatting
Jacobluke- Apr 29, 2024
0b319e0
Fix bug in effsize_object, remove unnecessary numba function
Jacobluke- Apr 30, 2024
cc71e1c
Fix on test notebook for input change in jit function and change in b…
Jacobluke- Apr 30, 2024
a45291c
Squashed commit of the following:
Jacobluke- May 7, 2024
f5efc08
removed the paired delta-delta and forestplot section
Lucas1213WZY May 21, 2024
fd56718
Adding changes suggested
Lucas1213WZY May 21, 2024
b2b8c35
Remove old version notebook
Jacobluke- May 31, 2024
4bf8313
Fix link reference error
Jacobluke- Jun 3, 2024
3354e90
Update 07-forest_plot.ipynb
sangyu Jun 10, 2024
a2eceaf
fix: change Subplot to Axes
siemdejong Aug 12, 2024
3164aee
fix: detail matplotlib version number
siemdejong Aug 12, 2024
641c4ed
Fixed coloring of summary bars and added delta text (WIP)
JAnns98 Aug 29, 2024
ab8aa9f
Moved main delta_text code to a separate function in plot_tools
JAnns98 Aug 29, 2024
b4763ca
Bug fix and increased default alpha for contrast and swarm bars
JAnns98 Aug 30, 2024
43d61b3
Edits to delta-text to fit better on plots (especially when float_con…
JAnns98 Aug 30, 2024
83201f9
delta text bug fixes and added delta-delta and mini-meta support
JAnns98 Aug 30, 2024
74d3f3c
Bug fixes and allowing contrast bars to work on float_contrast plots
JAnns98 Sep 2, 2024
e196bc0
Bug fixes and cleaning up delta code
JAnns98 Sep 6, 2024
3c54561
Removed old delta text code
JAnns98 Sep 6, 2024
2982292
Moved delta dots to a separate function in plot_tools and renamed and…
JAnns98 Sep 6, 2024
601b74e
Added more kwargs options for deltadots
JAnns98 Sep 8, 2024
853ff52
Trimmed plotter function to move some code into two new misc_tools fu…
JAnns98 Sep 8, 2024
f1e2872
Trimmed plotter by creating two new misc_tools functions - get_color_…
JAnns98 Sep 8, 2024
c5f8bd2
Further trimming to plotter, changed get_fig_size function in misc_to…
JAnns98 Sep 8, 2024
b5542bc
minor edits
JAnns98 Sep 9, 2024
a14be86
More trimming and move code to misc_tools
JAnns98 Sep 9, 2024
3f65777
bug fix for 'gridkey' missing argument
JAnns98 Sep 9, 2024
667909b
Created a slopegraph_plotter function in plot_tools and trimmed plotter
JAnns98 Sep 9, 2024
889bede
Further trimming and moving extra params to misc_tools to help preven…
JAnns98 Sep 9, 2024
fb26eb0
removed redundant code
JAnns98 Sep 9, 2024
ac36489
Further trimming to group_summaries section of plotter
JAnns98 Sep 9, 2024
af1efba
Edit and moving some sankey code
JAnns98 Sep 9, 2024
6f8cb0d
Created a function in plot_tools to plot the contrast curve for the e…
JAnns98 Sep 9, 2024
21509c9
Further trimmed plotter and created function in misc_tools to extract…
JAnns98 Sep 10, 2024
4724cb4
Further trimmed plotter and created a new function in plot_tools for …
JAnns98 Sep 10, 2024
c298824
removing the commented out code from prior change
JAnns98 Sep 10, 2024
a9b6e52
Moved gridkey to separate function in plot_tools
JAnns98 Sep 10, 2024
10d13d3
trimmed plotter and created new function in plot_tools - barplotter
JAnns98 Sep 10, 2024
f3338dc
Trimmed plotter and added a function in misc_tools to edit the xticks…
JAnns98 Sep 10, 2024
36e3533
Trimmed plotter and added new functions in misc_tools to edit plot ae…
JAnns98 Sep 12, 2024
d91f285
Further trimming to plotter and created new function in misc_tools fo…
JAnns98 Sep 12, 2024
d319644
removed unnecessary imports
JAnns98 Sep 12, 2024
6f59874
formatting changes
JAnns98 Sep 12, 2024
ddeefa7
Trimming down plotter
JAnns98 Sep 12, 2024
2df0aff
Preliminary changes to plotter and scatterplot functions to allow leg…
JAnns98 Sep 13, 2024
57f0c58
Edit text for swarmplot legend
JAnns98 Sep 16, 2024
a27f6c1
Fix Upgrading Error
Jacobluke- Sep 16, 2024
17d1014
nbdev adding description for api files
Jacobluke- Sep 16, 2024
9a42975
Update pandas to 2.1.4
Jacobluke- Sep 17, 2024
4528455
Minor text changes
JAnns98 Sep 17, 2024
c79688d
Fix a silly mistake in type hint
Jacobluke- Sep 18, 2024
144179b
Generate test image baseline for contrast bar
Jacobluke- Sep 19, 2024
83cedbc
Merge branch ‘vnbdev’ into patch-docstring-fix
Jacobluke- Sep 19, 2024
e18531a
Merge branch 'feat-contrast-bars' into JAnns98-patch-1
Jacobluke- Sep 19, 2024
0bc084c
nbdev update on description for each file
Jacobluke- Sep 19, 2024
8cb5fc3
Merge branch 'feat-contrast-bars' into feat-forestplot-apiTut-changes
Jacobluke- Sep 19, 2024
001fa49
Merge remote-tracking branch 'upstream/master' into feat-asymmetric-s…
Jacobluke- Sep 20, 2024
df50e25
Resolve conflicts for empty_circle and Seaborn params
Jacobluke- Sep 23, 2024
533797c
Regenerate test image baseline
Jacobluke- Sep 23, 2024
d047528
Merge pull request #174 from ACCLAB/feat-asymmetric-swarmplots
Jacobluke- Sep 23, 2024
5ad5a06
Merge branch 'vnbdev' of github.com:ACCLAB/DABEST-python into feat-co…
Jacobluke- Sep 23, 2024
d5e9c58
Merge pull request #186 from ACCLAB/feat-contrast-bars
Jacobluke- Sep 23, 2024
ba654dc
Merge branch 'vnbdev' of github.com:ACCLAB/DABEST-python into feat-fo…
Jacobluke- Sep 23, 2024
451e422
Delete .cursorignore
Jacobluke- Sep 23, 2024
d1c123f
Merge pull request #185 from ACCLAB/feat-forestplot-apiTut-changes
Jacobluke- Sep 23, 2024
f8b955c
Update readme min Python badge
Jacobluke- Sep 23, 2024
b8a358f
Merge remote-tracking branch 'upstream/vnbdev' into JAnns98-patch-1
Jacobluke- Sep 24, 2024
f8fa263
Merge pull request #175 from ACCLAB/JAnns98-patch-1
Jacobluke- Sep 24, 2024
4ff6cfe
Merge branch 'vnbdev' of github.com:ACCLAB/DABEST-python into patch-d…
Jacobluke- Sep 24, 2024
8e278d1
Fix README.md table of content
Jacobluke- Sep 24, 2024
360fdc3
Merge pull request #179 from ACCLAB/patch-docstring-fix
Jacobluke- Sep 24, 2024
3ac4852
Merge branch 'vnbdev' of github.com:ACCLAB/DABEST-python into pullreq…
Jacobluke- Sep 24, 2024
d3d531f
Merge pull request #184 from siemdejong/issue-183
Jacobluke- Sep 25, 2024
377adab
Starting edits to add horizontal plots
JAnns98 Sep 26, 2024
9f2cced
Further edits to horizontal plotting functionality
JAnns98 Sep 26, 2024
f7bf14f
Further additions to horizontal plot functionality part 2
JAnns98 Sep 26, 2024
2f72fc0
Added barplot functionality to horizontal plots
JAnns98 Sep 27, 2024
f893736
delta-delta and mini meta addition to horizontal plots
JAnns98 Sep 28, 2024
7ab566e
Sankey functionality added to horizontal plots
JAnns98 Sep 28, 2024
9e3ec9e
Major updates to trimming functions and moving code to appropriate lo…
JAnns98 Oct 3, 2024
b613a2f
Further edits to plotter and misc_tools and plot_tools functions. Add…
JAnns98 Oct 5, 2024
df6a5de
updates to plotter
JAnns98 Oct 7, 2024
6feefa2
Minor edits to maintain correct xlim and ylims after plotting functions
JAnns98 Oct 8, 2024
9cadefb
Added Jitter kwarg to slopegraph_kwargs for paired data
JAnns98 Oct 8, 2024
068d3f8
Word change
JAnns98 Oct 8, 2024
d572de9
adding additional xlim reset to contrast_axes
JAnns98 Oct 8, 2024
2c59934
New test images
JAnns98 Oct 8, 2024
523f9dd
Updated nbdev
JAnns98 Oct 8, 2024
1c639f1
Update README.md
JAnns98 Oct 8, 2024
eae1792
Credited help from GitHub user for jitter and edits to adjust table d…
JAnns98 Oct 9, 2024
f439607
Bug fixes in delta text, summary bars, and swarm bars. Also added add…
JAnns98 Oct 15, 2024
0555d22
Added tutorial for horizontal plots and the plot aesthetic changes (c…
JAnns98 Oct 16, 2024
d5cb841
Small modifications to tutorial notebook for plot aesthetics
JAnns98 Oct 16, 2024
6ae54d5
Removed redundant code
JAnns98 Oct 17, 2024
2fc8052
Add support for baseline_curve
Jacobluke- Oct 18, 2024
907c965
Modified ylim of horizontal plot for delta-delta, mini-meta, and sank…
JAnns98 Oct 18, 2024
91ff9be
Prevent deprecation warning for pandas
Jacobluke- Oct 18, 2024
994003c
Add tests for baseline curve
Jacobluke- Oct 18, 2024
29a1e11
Edits to gridkey and code that is impacted by it (remove spines if gr…
JAnns98 Oct 18, 2024
41306f5
Added changes From Sangyu's PR for gridkey auto parser
JAnns98 Oct 20, 2024
5df90f8
Bug fix and zero-dot effect size for baseline
Jacobluke- Oct 21, 2024
adf9151
updated color selection for swarm bars, contrast bars, and delta text…
JAnns98 Oct 23, 2024
1c660f8
pandas deprecation related to categories
Jacobluke- Oct 25, 2024
6c60a58
Updated Gridkey function for horizontal plot and delta-delta and mini…
JAnns98 Nov 15, 2024
62b1145
Fixes to delta-delta spine in paired condition and added tutorial inf…
JAnns98 Nov 16, 2024
d768b60
Added gridkey kwargs and some more tutorial info for gridkey
JAnns98 Nov 18, 2024
bb090ae
Added gap_width_percent to group_summary_kwargs so that users can spe…
JAnns98 Nov 19, 2024
02140b1
minor edits to remove redundant code
JAnns98 Nov 19, 2024
fa60e76
Added tutorial for group_summaries (gapped lines) and added more kwar…
JAnns98 Nov 20, 2024
99ce716
Added tests for gridkey, horizontal plots, delta text, summary bars, …
JAnns98 Nov 25, 2024
c72f0de
Added a kwarg to horizontal plots to hide the table ax
JAnns98 Nov 26, 2024
d2848cf
Added additional kwarg, tutorial details, and tests for delta dots.
JAnns98 Nov 28, 2024
5b9430f
Reran tutorials to update the images with the new aesthetic changes
JAnns98 Nov 28, 2024
36ac2b5
Added some tests and updated summary bars to allow full ax span or st…
JAnns98 Nov 28, 2024
b1c78bc
Add counts to prop plots feature and added tests and tutorial details…
JAnns98 Nov 29, 2024
28b23e5
Fixed legend location for horizontal plots and added a bbox kwarg for…
JAnns98 Dec 1, 2024
7636488
Add more numba functions, add pre-compilation
Jacobluke- Dec 3, 2024
a060b49
Remove Numba version specification
Jacobluke- Dec 3, 2024
940d783
Merge branch 'vnbdev' into feat-numba
Jacobluke- Dec 3, 2024
e5fbe1e
Remove useless precompilation, update new images, adapt new pandas pa…
Jacobluke- Dec 3, 2024
f01024c
Add es_paired_lines and es_paired_lines_kwargs, and added tutorial an…
JAnns98 Dec 3, 2024
fdcfa0c
minor code edits
JAnns98 Dec 3, 2024
b2e4dab
Adjusted alpha values for swarm and contrast bars
JAnns98 Dec 4, 2024
d254128
fixed color selector for contrast and swarm bars to work properly wit…
JAnns98 Dec 4, 2024
71d0d93
More documentation
JAnns98 Dec 4, 2024
9ebbe4d
Added control lines for the horizontal table ax
JAnns98 Dec 4, 2024
79f2883
Minor tutorial edits
JAnns98 Dec 4, 2024
8757b26
Bug fix for custom palette dictionary in delta delta use case
JAnns98 Dec 18, 2024
cada3ca
Minor kwarg name change for delta_text_kwargs
JAnns98 Dec 19, 2024
7c2e9c9
Merge pull request #191 from ACCLAB/baseline_ec
Jacobluke- Dec 20, 2024
c849aca
Fix pandas problem
Jacobluke- Dec 20, 2024
e1b9a0b
Squashed commit of the following:
Jacobluke- Dec 20, 2024
f8bc1ea
Generate new baseline test images
Jacobluke- Dec 20, 2024
93d1547
Merge branch 'vnbdev' into feat-numba
Jacobluke- Dec 20, 2024
3de867f
Merge pull request #192 from ACCLAB/feat-numba
Jacobluke- Dec 20, 2024
aa61ed2
Merge branch 'vnbdev' into feat-horizontal-plots
Jacobluke- Dec 23, 2024
5658cd0
Merge pull request #193 from ACCLAB/feat-horizontal-plots
Jacobluke- Dec 23, 2024
4619cea
Capitalised the rawdata label
JAnns98 Dec 23, 2024
f0730ab
Merge pull request #194 from ACCLAB/feat-label-edits
JAnns98 Jan 1, 2025
9bfed8a
Delta-delta calculation for Proportional
Jacobluke- Dec 24, 2024
f80a491
Solving set_label() FutureWarning
Jacobluke- Dec 24, 2024
6b095c5
Remove checking for proportional and delta2
Jacobluke- Dec 26, 2024
04377cd
Solving plot_palette_bar, Seaborn issue and Sankey
Jacobluke- Dec 26, 2024
0206e46
Add new tests, modify warnings
Jacobluke- Dec 26, 2024
b0cf864
keep delta g same as deltadelta for prop
Jacobluke- Dec 26, 2024
cf5676f
Finalize unpaired prop plot color issue
Jacobluke- Dec 26, 2024
8c7a33f
Generate new test images
Jacobluke- Dec 26, 2024
6ff4592
Sync changes to nbdev notebooks
Jacobluke- Dec 26, 2024
fab4061
Updated test images
JAnns98 Jan 1, 2025
87b8df2
Merge pull request #195 from ACCLAB/feat-prop-deltadelta
JAnns98 Jan 1, 2025
5c66bb3
Forest plot updates - major code changes, tutorial updates, image tests,
JAnns98 Jan 7, 2025
d658e1d
Bug fix with argument type setting
JAnns98 Jan 7, 2025
c562db9
add an error for if the custom_palette supplied is a dict but no labe…
JAnns98 Jan 7, 2025
f9addb1
Merge pull request #196 from ACCLAB/feat-forest-plot-edits
JAnns98 Jan 8, 2025
326b3a0
Sankey custom palette fix
JAnns98 Jan 9, 2025
03bd48c
Add results property to delta_delta and mini_meta_delta dabest objects
JAnns98 Jan 10, 2025
15454ca
Bug fix for y-lim issues when deltadots are shown
JAnns98 Jan 10, 2025
e8ffca4
remove print statement
JAnns98 Jan 13, 2025
dd41a01
Merge pull request #197 from ACCLAB/feat-results-dataframe
JAnns98 Jan 13, 2025
1e98326
Edited proportional flag to improve naming convention consistency
JAnns98 Jan 13, 2025
e6dfe38
added informative error message for missing idx and trimmed down and …
JAnns98 Jan 15, 2025
afe3f01
Fixed color palette bug ordering if melted format data and the idx is…
JAnns98 Jan 15, 2025
faf284d
WIP tutorials and changed default delta dot zorder
JAnns98 Jan 20, 2025
03187b0
added error message if custom_palette list shorter than the number of…
JAnns98 Jan 29, 2025
ac34087
Added custom_pal list functionality to sankey plots. All types of cus…
JAnns98 Jan 31, 2025
a73ac6d
Tutorial edits
JAnns98 Jan 31, 2025
f355a59
Added support for delta-delta legend
JAnns98 Feb 7, 2025
8db319b
Update mini meta terminology
JAnns98 Feb 8, 2025
b6d2aff
Created new function for color picking for contrast/swarm/summary bar…
JAnns98 Feb 10, 2025
3409610
Major updates
JAnns98 Feb 12, 2025
e8f1176
Plotter layout edits and trimming swarm and contrast bar plotters int…
JAnns98 Feb 13, 2025
563905c
added depreciation warning/error to delta_g attribute, telling users …
JAnns98 Feb 14, 2025
5479517
Trimmed some functions and edited function names
JAnns98 Feb 14, 2025
6e22b66
rename function
JAnns98 Feb 14, 2025
62a4dc9
Merge pull request #199 from ACCLAB/feat-tutorial-edits
JAnns98 Feb 14, 2025
fa9c2d8
Add gap to contrast axes zeroline for delta-delta experiments and fix…
JAnns98 Feb 18, 2025
8c75b03
Edited delta-delta and mini-meta (non horizontal) layouts
JAnns98 Feb 19, 2025
3dacd32
Edit horizontal plot mini-meta and delta-delta
JAnns98 Feb 19, 2025
5ecac36
removed old commented out code
JAnns98 Feb 19, 2025
8bf2e8b
Merge pull request #200 from ACCLAB/feat-deltadelta-aesthetic-changes
JAnns98 Feb 19, 2025
1d8c5e1
Updated tutorial images
JAnns98 Feb 19, 2025
84cd24c
Updated dependencies and python version and tests
JAnns98 Feb 20, 2025
162cdea
Update readme.md
JAnns98 Feb 20, 2025
576020b
Fixed syntax warning from invalid escape sequence in delta_objects do…
JAnns98 Feb 21, 2025
129d3a5
Updated hyperlinks in docs and version number
JAnns98 Feb 21, 2025
80cee98
Updated readme and about page
JAnns98 Feb 21, 2025
cb5dc2d
Updated readme
JAnns98 Feb 21, 2025
e341125
Updated Readme and tutorial pages
JAnns98 Feb 21, 2025
0d80be3
Update changelog
JAnns98 Feb 21, 2025
5641276
Merge pull request #201 from ACCLAB/feat-update-dependencies
JAnns98 Feb 21, 2025
2d8d1f9
Minor readme and tutorial edits
JAnns98 Feb 21, 2025
a641906
Added argument for showing/hiding the sample size in labels and updat…
JAnns98 Feb 21, 2025
bf2cbce
Fix two depreciation/future warnings
JAnns98 Feb 22, 2025
aceeb02
Added permutation pvalue adjustment option in load
JAnns98 Feb 24, 2025
9f27bab
Added fontsize and labels_fontsize functionality to the gridkey - acc…
JAnns98 Feb 25, 2025
718ed51
Forest plots can now do regular delta experiments
JAnns98 Feb 25, 2025
aba6ee1
Bug fix for delta text
JAnns98 Feb 27, 2025
281338d
Edit one line of text spacing
JAnns98 Mar 3, 2025
2195681
Updated naming of plot arguments and fix bugs with some argument func…
JAnns98 Mar 7, 2025
4616f79
Adjusted default figure size for paired twogroup non proportional flo…
JAnns98 Mar 7, 2025
09d38d3
Added mini-meta and delta combination functionality to forest plot
JAnns98 Mar 10, 2025
996643f
Add delta text to forest plot
JAnns98 Mar 11, 2025
75929f3
Contrast bars added to forest plot
JAnns98 Mar 11, 2025
06bb741
forest_plot can now be accessed directly from dabest
JAnns98 Mar 11, 2025
07b08be
Fix pooled variance calculation
maiyishan Mar 11, 2025
8aff220
Merge pull request #202 from ACCLAB/pooled-variance-fix
JAnns98 Mar 11, 2025
3158359
Added more error checking for forest plot
JAnns98 Mar 12, 2025
a6e0d0b
add summary bars to forest plot
JAnns98 Mar 12, 2025
7c4da36
tutorial and various notebook updates
JAnns98 Mar 12, 2025
794baed
Add some docstrings and remove a few redundant lines
JAnns98 Mar 13, 2025
4f48598
Updated release date
JAnns98 Mar 14, 2025
ce5a1d5
Reformat some plotting functions
JAnns98 Mar 19, 2025
b7c45d8
Updated tutorial notebooks
JAnns98 Mar 19, 2025
95d56c3
Add more tests and code edits to forest plot
JAnns98 Mar 20, 2025
c014093
Trimmed data load function in forest plot
JAnns98 Mar 21, 2025
67f5232
Adjusted delta g label, fixed a sankey bug, and trimmed some plot too…
JAnns98 Mar 25, 2025
896f276
Fixed contrast axis issue with float_contrast, and updated readme and…
JAnns98 Mar 25, 2025
3890c06
updated tutorials, readme, and forest plot effect size options
JAnns98 Mar 26, 2025
f4e1d63
Update summary_bars name to reference_band
JAnns98 Mar 26, 2025
31c15d8
Update 09-plot_aesthetics.ipynb
JAnns98 Mar 26, 2025
871c00d
Merge pull request #203 from ACCLAB/feat-final-changes
JAnns98 Mar 26, 2025
3007176
Add a short code snippet for adjusting legend_kwargs in plot aestheti…
JAnns98 Mar 26, 2025
526066f
Update 02-about.ipynb
JAnns98 Mar 26, 2025
a179eec
Minor tutorial text edits
JAnns98 Mar 27, 2025
49e772e
Edit readme links
JAnns98 Mar 27, 2025
f0e306d
Updated links on readme
JAnns98 Mar 27, 2025
1d3dc13
Updated readme
JAnns98 Mar 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
cache: "pip"
cache-dependency-path: settings.ini
- name: Run pytest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _proc/
.gitattributes
.last_checked
.gitconfig
.cursorignore
*.bak
*.log
*~
Expand Down
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,49 @@

<!-- do not remove -->

## v2025.03.27

### New Features

- **Horizontal Plots**: Users can now create horizontal layout plots, providing compact data visualization. This can be achieved by setting `horizontal=True` in the `plot()` method.

- **Forest Plots**: Forest plots provide a simple and intuitive way to visualize many delta-delta (or Deltas’ g), mini-meta, or regular delta effect sizes at once from multiple different dabest objects without presenting the raw data.

- **Gridkey**: Users can now represent their experimental labels in a gridkey format. This can be accessed with the `gridkey` argument in the `plot()` method.

- **Aesthetic Updates**: We have made several aesthetic improvements to the plots, including:
- **Raw, Contrast, and Summary bars**: We added bars highlighting the various groups' differences. These bars can be customized to suit the user’s needs. Raw and contrast bars are provided by default, summary bars can be added by the user.

- **Delta-Delta and Mini-Meta Plots**: We have adjusted the spacing of delta-delta and mini-meta plots to reduce whitespace. The new format brings the added effect size closer to the regular effect sizes. In addition, delta-delta plots now have a gap in the zeroline to separate the delta-delta and regular effect sizes.

- **Delta-delta Effect Sizes for Proportion Plots**: Delta-delta experimental plotting now supports binary data.

- **Proportion Plots Sample Sizes**: The sample size of each binary option for each group can now be displayed. These can be toggled on or off via the `prop_sample_counts` parameter.

- **Effect Size Lines for Paired Plots**: Paired plots now display lines linking the effect sizes within a group together in the contrast axes. These can be toggled on or off via the `contrast_paired_lines` parameter.

- **Baseline Error Curves**: Baseline error dot and curve are now available to represent the baseline/control group in the contrast axes. The dot is shown by default, while the curve can be toggled on/off by the user (via the `show_baseline_ec` parameter).

- **Delta Text**: Effect size deltas are now displayed as text next to their respective effect size. This can be toggled on or off via the `delta_text` parameter.

- **Empty Circle Color Palette**: A new swarmplot color palette modification is available for unpaired plots via the `empty_circle` parameter in the `plot()` method. This option modifies the two-group swarmplots to have empty circles for the control group and filled circles for the experimental group.

### Enhancement

- **Python 3.13 Support**: DABEST now supports Python 3.10-3.13.

- **Numba for Speed Improvements**: We have included Numba to speed up the various calculations in DABEST. This should make the calculations faster and more efficient. Importing DABEST may take a little longer than before, and a progress bar will appear during the import process to show the calculations being performed. Once imported, loading and plotting data should now be faster.

- **Terminology Updates**: We have made several updates to the documentation and terminology to improve clarity and consistency. For example:
- Plot arguments have been adjusted to bring more clarity and consistency in naming. Arguments relating to the rawdata plot axis will now be typically referred to with ‘raw’ while arguments relating to the contrast axis will be referred to with ‘contrast’. For example, ‘raw_label’ replaces ‘swarm_label’ and ‘bar_label’. The various kwargs relating to each different type of plot (e.g., swarmplot_kwargs) remain unchanged.
- The method to utilise the Deltas’ g effect size is now via the .hedges_g.plot() method rather than creating a whole new Delta_g object as before. The functionality remains the same, it plots hedges_g effect sizes and then the Deltas’ g effect size alongside these (if a delta-delta experiment was loaded correctly).

- **Updated Tutorial Pages**: We have updated the tutorial pages to reflect the new features and changes. The tutorial pages are now more comprehensive and (hopefully!) more intuitive!

- **Results Dataframe for Delta-delta and Mini-meta Plots**: A results dataframe can now be extracted for both the delta-delta and mini-meta effect size data (similar to the results dataframe for the regular effect sizes). These can be found via the `.results` attribute of the `.delta_delta` or `.mini_meta` object.



## v2024.03.29

### New Features
Expand Down
179 changes: 141 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# DABEST-Python


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

[![minimal Python
version](https://img.shields.io/badge/Python%3E%3D-3.8-6666ff.svg)](https://www.anaconda.com/distribution/)
version](https://img.shields.io/badge/Python%3E%3D-3.10-6666ff.svg)](https://www.anaconda.com/distribution/)
[![PyPI
version](https://badge.fury.io/py/dabest.svg)](https://badge.fury.io/py/dabest)
[![Downloads](https://img.shields.io/pepy/dt/dabest.svg)](https://pepy.tech/project/dabest)
Expand All @@ -13,37 +14,139 @@ citation](https://zenodo.org/badge/DOI/10.1038/s41592-019-0470-3.svg)](https://r

## Recent Version Update

We are proud to announce **DABEST Version Ondeh (v2024.03.29)**. This
new version of the DABEST Python library provides several new features
and includes performance improvements.

1. **New Paired Proportion Plot**: This feature builds upon the
existing proportional analysis capabilities by introducing advanced
aesthetics and clearer visualization of changes in proportions
between different groups, inspired by the informative nature of
Sankey Diagrams. It’s particularly useful for studies that require
detailed examination of how proportions shift in paired
observations.

2. **Customizable Swarm Plot**: Enhancements allow for tailored swarm
plot aesthetics, notably the adjustment of swarm sides to produce
asymmetric swarm plots. This customization enhances data
representation, making visual distinctions more pronounced and
interpretations clearer.

3. **Standardized Delta-delta Effect Size**: We added a new metric akin
to a Hedges’ g for delta-delta effect size, which allows comparisons
between delta-delta effects generated from metrics with different
units.

4. **Miscellaneous Improvements**: This version also encompasses a
broad range of miscellaneous enhancements, including bug fixes,
Bootstrapping speed improvements, new templates for raising issues,
and updated unit tests. These improvements are designed to
streamline the user experience, increase the software’s stability,
and expand its versatility. By addressing user feedback and
identified issues, DABEST continues to refine its functionality and
reliability.
We are proud to announce **DABEST Version Dadar (v2025.03.27)** This new
version of the DABEST Python library includes several new features and
performance improvements. It’s a big one!

1. **Python 3.13 Support**: DABEST now supports Python 3.10—3.13.

2. **Horizontal Plots**: Users can now create horizontal layout plots,
providing compact data visualization. This can be achieved by
setting `horizontal=True` in the `.plot()` method. See the
[Horizontal Plots
tutorial](https://acclab.github.io/DABEST-python/tutorials/08-horizontal_plot.html)
for more details.

3. **Forest Plots**: Forest plots provide a simple and intuitive way to
visualize many delta-delta (or delta *g*), mini-meta, or regular
delta effect sizes at once from multiple different dabest objects
without presenting the raw data. See the [Forest Plots
tutorial](https://acclab.github.io/DABEST-python/tutorials/07-forest_plot.html)
for more details.

4. **Gridkey**: Users can now represent experimental labels in a
‘gridkey’ table. This can be accessed with the `gridkey` parameter
in the `.plot()` method. See the gridkey section in the [Plot
Aesthetics
tutorial](https://acclab.github.io/DABEST-python/tutorials/09-plot_aesthetics.html)
for more details.

5. **Other Visualization Improvements**:

- **Comparing means and effect sizes**: The estimation plots now
include three types of customizable visual features to enhance
contextualization and comparison of means and effect sizes:

- **Bars for the mean of the observed values (`raw_bars`)**:
Colored rectangles that extend from the zero line to the mean of
each group’s raw data. These bars visually highlight the central
tendency of the raw data.

- **Bars for effect size/s (`contrast_bars`)**: Similar to raw
bars, these highlight the effect-size difference between two
groups (typically test and control) in the contrast axis. They
provide a visual representation of the differences between
groups.

- **Summary bands (`reference_band`)**: An optional band or ribbon
that can be added to emphasize a specific effect size’s
confidence interval that is used as a reference range across the
entire contrast axis. Unlike raw and contrast bars, these span
horizontally (or vertically if `horizontal=True`) and are not
displayed by default.

Raw and contrast bars are shown by default. Users can customize
these bars and add summary bands as needed. For detailed
customization instructions, please refer to the [Plot Aesthetics
tutorial](https://acclab.github.io/DABEST-python/tutorials/09-plot_aesthetics.html).

- **Tighter spacing in delta-delta and mini-meta plots**: We have
adjusted the spacing of delta-delta and mini-meta plots to reduce
whitespace. The new format brings the overall effect size closer
to the two-groups effect sizes. In addition, delta-delta plots now
have a gap in the zero line to separate the delta-delta from the ∆
effect sizes.

- **Delta-delta effect sizes for proportion plots**: In addition to
continuous data, delta-delta plots now support binary data
(proportions). This means that 2-way designs for binary outcomes
can be analyzed with DABEST.

- **Proportion plots sample sizes**: The sample size of each binary
option for each group can now be displayed. These can be toggled
on/off via the `prop_sample_counts` parameter.

- **Effect size lines for paired plots**: Along with lines
connecting paired observed values, the paired plots now also
display lines linking the effect sizes within a group in the
contrast axes. These lines can be toggled on/off via the
`contrast_paired_lines` parameter.

- **Baseline error curves**: To represent the baseline/control group
in the contrast axes, it is now possible to plot the baseline dot
and the baseline error curve. The dot is shown by default, while
the curve can be toggled on/off via the `show_baseline_ec`
parameter. This dot helps make it clear where the baseline comes
from i.e. the control minus itself. The baseline error curve can
be used to show that the baseline itself is an estimate inferred
from the observed values of the control data.

- **Delta text**: Effect-size deltas (e.g. mean differences) are now
displayed as numerals next to their respective effect size. This
can be toggled on/off via the `delta_text` parameter.

- **Empty circle color palette**: A new swarmplot color palette
modification is available for unpaired plots via the
`empty_circle` parameter in the `.plot()` method. This option
modifies the two-group swarmplots to have empty circles for the
control group and filled circles for the experimental group.

6. **Miscellaneous Improvements & Adjustments**

- **Numba for speed improvements**: We have added
[Numba](https://numba.pydata.org/) to speed up the various
calculations in DABEST. Precalculations will be performed during
import, which will help speed up the subsequent loading and
plotting of data.

- **Terminology/naming updates**: During the refactoring of the
code, we have made several updates to the documentation and
terminology to improve clarity and consistency. For example:

- Plot arguments have been adjusted to bring more clarity and
consistency in naming. Arguments relating to the rawdata plot
axis will now be typically referred to with `raw` while
arguments relating to the contrast axis will be referred to with
`contrast`. For example, `raw_label` replaces `swarm_label` and
`bar_label`. The various kwargs relating to each different type
of plot (e.g., `swarmplot_kwargs`) remain unchanged.

- The method to utilise the Delta *g* effect size is now via the
.hedges_g.plot() method rather than creating a whole new Delta_g
object as before. The functionality remains the same, it plots
hedges_g effect sizes and then the Delta *g* effect size
alongside these (if a delta-delta experiment was loaded
correctly).

- **Updated tutorial pages**: We have updated the tutorial pages to
reflect the new features and changes. The tutorial pages are now
more comprehensive and (hopefully!) more intuitive!

- **Results dataframe for delta-delta and mini-meta plots**: A
results dataframe can now be extracted for both the delta-delta
and mini-meta effect size data (similar to the results dataframe
for the regular effect sizes). These can be found via the
`.results` attribute of the `.delta_delta` or `.mini_meta` object.

## Contents

Expand Down Expand Up @@ -91,7 +194,7 @@ allowing everyone access to high-quality estimation plots.

## Installation

This package is tested on Python 3.8 and onwards. It is highly
This package is tested on Python 3.11 and onwards. It is highly
recommended to download the [Anaconda
distribution](https://www.continuum.io/downloads) of Python in order to
obtain the dependencies easily.
Expand Down Expand Up @@ -160,17 +263,17 @@ page](https://github.com/ACCLAB/DABEST-python/issues/new).
## Contributing

All contributions are welcome; please read the [Guidelines for
contributing](CONTRIBUTING.md) first.
contributing](../CONTRIBUTING.md) first.

We also have a [Code of Conduct](CODE_OF_CONDUCT.md) to foster an
We also have a [Code of Conduct](../CODE_OF_CONDUCT.md) to foster an
inclusive and productive space.

### A wish list for new features

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
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).

## Acknowledgements
Expand All @@ -197,7 +300,7 @@ The test suite ensures that the bootstrapping functions and the plotting
functions perform as expected.

For detailed information, please refer to the [test
folder](nbs/tests/README.md)
folder](../nbs/tests/README.md)

## DABEST in other languages

Expand Down
11 changes: 10 additions & 1 deletion dabest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
from ._api import load, prop_dataset
from ._stats_tools import effsize as effsize
from ._stats_tools import confint_2group_diff as ci_2g
from ._effsize_objects import TwoGroupsEffectSize, PermutationTest
from ._dabest_object import Dabest
from .forest_plot import forest_plot

__version__ = "2024.03.29"

import os
if os.environ.get('SKIP_NUMBA_COMPILE') != '1':
from ._stats_tools.precompile import precompile_all, _NUMBA_COMPILED
if not _NUMBA_COMPILED:
precompile_all()

__version__ = "2025.03.27"
7 changes: 7 additions & 0 deletions dabest/_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Loading data and relevant groups"""

# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/API/load.ipynb.

# %% auto 0
Expand All @@ -20,6 +22,7 @@ def load(
experiment_label=None,
x1_level=None,
mini_meta=False,
ps_adjust=False,
):
"""
Loads data in preparation for estimation statistics.
Expand Down Expand Up @@ -80,6 +83,9 @@ def load(
is True; otherwise it can only be a string.
mini_meta : boolean, default False
Indicator of weighted delta calculation.
ps_adjust : boolean, default False
Indicator of whether to adjust calculated p-value according to Phipson & Smyth (2010)
# https://doi.org/10.2202/1544-6115.1585

Returns
-------
Expand All @@ -103,6 +109,7 @@ def load(
experiment_label,
x1_level,
mini_meta,
ps_adjust,
)

# %% ../nbs/API/load.ipynb 5
Expand Down
11 changes: 8 additions & 3 deletions dabest/_bootstrap_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def __init__(
reps: int = 5000, # Number of bootstrap iterations to perform.
):
# Turn to pandas series.
x1 = pd.Series(x1).dropna()
# x1 = pd.Series(x1).dropna()
x1 = x1[~np.isnan(x1)]

diff = False

# Initialise stat_function
Expand All @@ -89,7 +91,9 @@ def __init__(
if x2 is None:
raise ValueError("Please specify x2.")

x2 = pd.Series(x2).dropna()
# x2 = pd.Series(x2).dropna()
x2 = x1[~np.isnan(x2)]

if len(x1) != len(x2):
raise ValueError("x1 and x2 are not the same length.")

Expand Down Expand Up @@ -134,7 +138,8 @@ def __init__(

elif x2 is not None and paired is None:
diff = True
x2 = pd.Series(x2).dropna()
# x2 = pd.Series(x2).dropna()
x2 = x2[~np.isnan(x2)]
# Generate statarrays for both arrays.
ref_statarray = sns.algorithms.bootstrap(x1, **sns_bootstrap_kwargs)
exp_statarray = sns.algorithms.bootstrap(x2, **sns_bootstrap_kwargs)
Expand Down
Loading