Skip to content

Commit 84cd24c

Browse files
committed
Updated dependencies and python version and tests
> dependencies updated > python versions available now should be 3.10-3.13 > tests updated to now finally look like the actual plots
1 parent 1d8c5e1 commit 84cd24c

329 files changed

Lines changed: 330 additions & 24 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test-pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v3
99
- uses: actions/setup-python@v4
1010
with:
11-
python-version: 3.9
11+
python-version: 3.11
1212
cache: "pip"
1313
cache-dependency-path: settings.ini
1414
- name: Run pytest

dabest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
if not _NUMBA_COMPILED:
1212
precompile_all()
1313

14-
__version__ = "2024.03.30"
14+
__version__ = "2025.02.28"

dabest/forest_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def get_kwargs(
223223
"widths": 0.5,
224224
"showextrema": False,
225225
"showmedians": False,
226-
"vert": not horizontal
226+
"vert": not horizontal,
227227
}
228228
if violin_kwargs is None:
229229
violin_kwargs = default_violin_kwargs

dabest/misc_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def get_kwargs(
259259
# Violinplot kwargs.
260260
default_violinplot_kwargs = {
261261
"widths": 0.5,
262-
"vert": True,
262+
"vert": 'vertical',
263263
"showextrema": False,
264264
"showmedians": False,
265265

dabest/plot_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,7 @@ def _swarm(
27032703
bad_x_offsets.append(True)
27042704
else:
27052705
bad_x_offsets.append(False)
2706-
potential_x_offsets[bad_x_offsets] = np.infty
2706+
potential_x_offsets[bad_x_offsets] = np.inf
27072707
abs_potential_x_offsets = [abs(_) for _ in potential_x_offsets]
27082708
valid_x_offset = potential_x_offsets[
27092709
abs_potential_x_offsets.index(min(abs_potential_x_offsets))

dabest/plotter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ def effectsize_df_plotter(effectsize_df: object, **plot_kwargs) -> matplotlib.fi
7777
set_xaxis_ticks_and_lims,
7878
show_legend,
7979
gardner_altman_adjustments,
80-
# Cumming_Plot_Aesthetic_Adjustments,
8180
extract_group_summaries,
8281
draw_zeroline,
8382
redraw_dependent_spines,

nbs/01-getting_started.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,16 @@
6464
"source": [
6565
"\n",
6666
"\n",
67-
"Python 3.10 is strongly recommended. DABEST has also been tested with Python 3.8 and onwards.\n",
67+
"Python 3.11 is strongly recommended. DABEST has also been tested with Python 3.10 and onwards.\n",
6868
"\n",
6969
"In addition, the following packages are also required (listed with their minimal versions):\n",
7070
"\n",
71-
"* [numpy 1.23.5](https://www.numpy.org)\n",
72-
"* [scipy 1.9.3](https://www.scipy.org)\n",
73-
"* [matplotlib 3.6.3](https://www.matplotlib.org)\n",
74-
"* [pandas 1.5.0](https://pandas.pydata.org)\n",
75-
"* [seaborn 0.12.2](https://seaborn.pydata.org)\n",
71+
"* [numpy 2.1.3](https://www.numpy.org)\n",
72+
"* [scipy 1.15.2](https://www.scipy.org)\n",
73+
"* [matplotlib 3.10.0](https://www.matplotlib.org)\n",
74+
"* [pandas 2.2.3](https://pandas.pydata.org)\n",
75+
"* [seaborn 0.13.2](https://seaborn.pydata.org)\n",
76+
"* [numba 0.61.0](https://numba.pydata.org)\n",
7677
"* [lqrt 0.3.3](https://github.com/alyakin314/lqrt)\n",
7778
"\n",
7879
"To obtain these package dependencies easily, it is highly recommended to download the [Anaconda](https://www.continuum.io/downloads) distribution of Python.\n"

nbs/API/forest_plot.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
" \"widths\": 0.5,\n",
283283
" \"showextrema\": False,\n",
284284
" \"showmedians\": False,\n",
285-
" \"vert\": not horizontal\n",
285+
" \"vert\": not horizontal,\n",
286286
" }\n",
287287
" if violin_kwargs is None:\n",
288288
" violin_kwargs = default_violin_kwargs\n",

nbs/API/misc_tools.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
" # Violinplot kwargs.\n",
314314
" default_violinplot_kwargs = {\n",
315315
" \"widths\": 0.5,\n",
316-
" \"vert\": True,\n",
316+
" \"vert\": 'vertical',\n",
317317
" \"showextrema\": False,\n",
318318
" \"showmedians\": False,\n",
319319
" \n",

nbs/API/plot_tools.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@
27612761
" bad_x_offsets.append(True)\n",
27622762
" else:\n",
27632763
" bad_x_offsets.append(False)\n",
2764-
" potential_x_offsets[bad_x_offsets] = np.infty\n",
2764+
" potential_x_offsets[bad_x_offsets] = np.inf\n",
27652765
" abs_potential_x_offsets = [abs(_) for _ in potential_x_offsets]\n",
27662766
" valid_x_offset = potential_x_offsets[\n",
27672767
" abs_potential_x_offsets.index(min(abs_potential_x_offsets))\n",

0 commit comments

Comments
 (0)