Skip to content

Commit cf35623

Browse files
authored
Merge pull request #34 from ACCLAB/v0.2.2
v0.2.2
2 parents f6fa1ba + c80e3a9 commit cf35623

9 files changed

Lines changed: 24 additions & 20 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ dev*
116116
# font list
117117
fontList.json
118118
fontList.py3k.cache
119+
fontList-v300.json
119120

120121
# tex folders
121122
tex.cache/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The Clear BSD License
22

3-
Copyright (c) 2016-2018 Joses W. Ho
3+
Copyright (c) 2016-2019 Joses W. Ho
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

dabest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
from ._stats_tools import effsize as effsize
2424
from ._classes import TwoGroupsEffectSize
2525

26-
__version__ = "0.2.1"
26+
__version__ = "0.2.2"

dabest/plotter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,9 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
530530
# If the effect size is negative, shift the contrast axis down.
531531
elif current_effsize < 0:
532532
rightmin, rightmax = rawdata_ylims + current_effsize
533+
else:
534+
rightmin, rightmax = rawdata_ylims
535+
533536
contrast_axes.set_ylim(rightmin, rightmax)
534537

535538
# align statfunc(exp) on rawdata_axes with the effect size on contrast_axes.

docs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ After cloning the repo, run
1616
sphinx-autobuild docs/source docs/build/_html
1717
```
1818

19+
## Creating the build
20+
21+
```shell
22+
sphinx-build -b html sourcedir builddir
23+
```
24+
1925
## Adding custom CSS
2026

2127
See the official [docs](https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html), as well as this Stack Overflow [thread](https://stackoverflow.com/questions/23462494/how-to-add-custom-css-file-to-sphinx) to assign a custom CSS to the Sphinx template.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
# The short X.Y version.
7878
version = '0.2'
7979
# The full version, including alpha/beta/rc tags.
80-
release = '0.2.1'
80+
release = '0.2.2'
8181

8282
# The language for content autogenerated by Sphinx. Refer to documentation
8383
# for a list of supported languages.

docs/source/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DABEST
99
-----------------------------------------------
1010
Data Analysis with Bootstrap-coupled ESTimation
1111
-----------------------------------------------
12-
*version 0.2.1*
12+
*version 0.2.2*
1313

1414
Analyze your data with estimation statistics!
1515
---------------------------------------------
@@ -19,6 +19,9 @@ Analyze your data with estimation statistics!
1919

2020
News
2121
----
22+
April 2019:
23+
- v0.2.2 released. This is a minor bugfix that addressed an issue for an edge case where the mean or median difference was exactly zero. See the :doc:`release-notes`.
24+
2225
March 2019:
2326
- v0.2.1 released. This is a minor bugfix that addressed an issue in gapped line plotting. See the :doc:`release-notes`.
2427

docs/source/release-notes.rst

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44
Release Notes
55
=============
66

7+
v0.2.2
8+
------
9+
10+
This release fixes a `bug <https://github.com/ACCLAB/DABEST-python/pull/30>`_ that has a mean difference or median difference of exactly 0.
711

812

913
v0.2.1
1014
------
1115

1216
This release fixes a bug that misplotted the gapped summary lines in Cumming plots when the *x*-variable was a :py:mod:`pandas` :py:class:`Categorical` object.
1317

18+
1419
v0.2.0
1520
------
1621

@@ -79,21 +84,6 @@ v0.1.6
7984

8085
Several keywords have been added to allow more fine-grained control over a selection of plot elements.
8186

82-
.. code-block:: python
83-
84-
swarm_dotsize
85-
difference_dotsize
86-
ci_linewidth
87-
summary_linewidth
88-
89-
The new keyword context allows you to set the plotting context as defined by seaborn’s `plotting_context() <https://seaborn.pydata.org/generated/seaborn.plotting_context.html>`_.
90-
91-
Now, if paired=True, you will need to supply an id_col, which is a column in the DataFrame which specifies which sample the datapoint belongs to.
92-
93-
v0.1.6
94-
======
95-
Several keywords have been added to allow more fine-grained control over a selection of plot elements.
96-
9787
* `swarm_dotsize`
9888
* `difference_dotsize`
9989
* `ci_linewidth`
@@ -122,6 +112,7 @@ Aesthetic changes
122112

123113
* add `tick_length` and `tick_pad` arguments to allow tweaking of the axes tick lengths, and padding of the tick labels, respectively.
124114

115+
125116
v0.1.3
126117
------
127118
Update dependencies to

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def check_dependencies():
8989
author_email='joseshowh@gmail.com',
9090
maintainer='Joses W. Ho',
9191
maintainer_email='joseshowh@gmail.com',
92-
version='0.2.1',
92+
version='0.2.2',
9393
description=DESCRIPTION,
9494
long_description=LONG_DESCRIPTION,
9595
packages=find_packages(),

0 commit comments

Comments
 (0)