Skip to content

Commit

Permalink
Merge pull request #34 from ACCLAB/v0.2.2
Browse files Browse the repository at this point in the history
v0.2.2
  • Loading branch information
josesho committed Apr 12, 2019
2 parents f6fa1ba + c80e3a9 commit cf35623
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ dev*
# font list
fontList.json
fontList.py3k.cache
fontList-v300.json

# tex folders
tex.cache/
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Clear BSD License

Copyright (c) 2016-2018 Joses W. Ho
Copyright (c) 2016-2019 Joses W. Ho
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion dabest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
from ._stats_tools import effsize as effsize
from ._classes import TwoGroupsEffectSize

__version__ = "0.2.1"
__version__ = "0.2.2"
3 changes: 3 additions & 0 deletions dabest/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ def EffectSizeDataFramePlotter(EffectSizeDataFrame, **plot_kwargs):
# If the effect size is negative, shift the contrast axis down.
elif current_effsize < 0:
rightmin, rightmax = rawdata_ylims + current_effsize
else:
rightmin, rightmax = rawdata_ylims

contrast_axes.set_ylim(rightmin, rightmax)

# align statfunc(exp) on rawdata_axes with the effect size on contrast_axes.
Expand Down
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ After cloning the repo, run
sphinx-autobuild docs/source docs/build/_html
```

## Creating the build

```shell
sphinx-build -b html sourcedir builddir
```

## Adding custom CSS

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.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
# The short X.Y version.
version = '0.2'
# The full version, including alpha/beta/rc tags.
release = '0.2.1'
release = '0.2.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
5 changes: 4 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DABEST
-----------------------------------------------
Data Analysis with Bootstrap-coupled ESTimation
-----------------------------------------------
*version 0.2.1*
*version 0.2.2*

Analyze your data with estimation statistics!
---------------------------------------------
Expand All @@ -19,6 +19,9 @@ Analyze your data with estimation statistics!

News
----
April 2019:
- 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`.

March 2019:
- v0.2.1 released. This is a minor bugfix that addressed an issue in gapped line plotting. See the :doc:`release-notes`.

Expand Down
21 changes: 6 additions & 15 deletions docs/source/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
Release Notes
=============

v0.2.2
------

This release fixes a `bug <https://github.com/ACCLAB/DABEST-python/pull/30>`_ that has a mean difference or median difference of exactly 0.


v0.2.1
------

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.


v0.2.0
------

Expand Down Expand Up @@ -79,21 +84,6 @@ v0.1.6

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

.. code-block:: python
swarm_dotsize
difference_dotsize
ci_linewidth
summary_linewidth
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>`_.

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.

v0.1.6
======
Several keywords have been added to allow more fine-grained control over a selection of plot elements.

* `swarm_dotsize`
* `difference_dotsize`
* `ci_linewidth`
Expand Down Expand Up @@ -122,6 +112,7 @@ Aesthetic changes

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


v0.1.3
------
Update dependencies to
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def check_dependencies():
author_email='joseshowh@gmail.com',
maintainer='Joses W. Ho',
maintainer_email='joseshowh@gmail.com',
version='0.2.1',
version='0.2.2',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
packages=find_packages(),
Expand Down

0 comments on commit cf35623

Please sign in to comment.