Skip to content
Merged
Changes from 1 commit
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated errorbar handling of xspans to properly account for when hue …
…column is being used to plot for color_col is not None
  • Loading branch information
sunroofgod committed Mar 24, 2024
commit 9f33da3bcd1ef60c28b728f020e9e4b4eaaa28f5
10 changes: 4 additions & 6 deletions dabest/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ def effectsize_df_plotter(effectsize_df, **plot_kwargs):
for i in range(len(idx)):
filled.append(False)
filled.extend([True] * (len(idx[i]) - 1))
print(f"filled is {filled}")

names = color_groups if not color_by_subgroups else idx
n_groups = len(color_groups)
Expand All @@ -301,7 +300,6 @@ def effectsize_df_plotter(effectsize_df, **plot_kwargs):
unsat_colors = sns.color_palette(n_colors=n_groups)
if empty_circle and not color_by_subgroups:
unsat_colors = [sns.color_palette("gray")[3]] + unsat_colors
print(unsat_colors)
else:
if isinstance(custom_pal, dict):
groups_in_palette = {
Expand Down Expand Up @@ -764,13 +762,13 @@ def effectsize_df_plotter(effectsize_df, **plot_kwargs):
if bootstraps_color_by_group:
line_colors.append(plot_palette_raw[all_plot_groups[jj]])

# Break the loop since hue in Seaborn adds collections to axes and it will result in index out of range
if jj >= n_groups - 1 and color_col is None:
break

if len(line_colors) != len(all_plot_groups):
line_colors = ytick_color

# hue in swarmplot would add collections to axes which will result in len(xspans) = len(all_plot_groups) + len(unique groups in hue)
if len(xspans) > len(all_plot_groups):
xspans = xspans[:len(all_plot_groups)]

error_bar(
plot_data,
x=xvar,
Expand Down