Skip to content

Commit 9cf8097

Browse files
authored
Merge pull request #155 from getzze/compat-seaborn-13
Compatibility with seaborn 0.13
2 parents 8f148c1 + da73322 commit 9cf8097

24 files changed

Lines changed: 2648 additions & 506 deletions

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy>=1.12.1
2-
seaborn>=0.9.0,<0.12
2+
seaborn>=0.9.0
33
matplotlib>=2.2.2
4-
pandas>=0.23.0,<2.0.0
4+
pandas>=0.23.0
55
scipy>=1.1.0
66
statsmodels
77
packaging

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from distutils.core import setup
2-
from setuptools import find_packages
1+
from setuptools import find_packages, setup
32
import re
43

54
with open("README.md", "r") as f:

statannotations/Annotation.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ def print_labels_and_content(self, sep=" vs. "):
4747

4848
def check_data_stat_result(self):
4949
if not isinstance(self.data, StatResult):
50-
warnings.warn("Annotation data has incorrect class." +
51-
"Should be StatResult. Cannot annotate current pair.")
50+
msg = (
51+
"Cannot annotate current pair. Annotation data has incorrect "
52+
f"class, should be StatResult: {type(self.data)}"
53+
)
54+
warnings.warn(msg)
5255
return False
5356
return True

0 commit comments

Comments
 (0)