Skip to content

Commit

Permalink
Merge branch 'develop' into precision-def
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccabilbro committed Jun 21, 2020
2 parents d09a774 + a713f47 commit a61605f
Show file tree
Hide file tree
Showing 25 changed files with 265 additions and 469 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Expand Up @@ -38,7 +38,7 @@ environment:

- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
MINICONDA_VERSION: "4.5.4"
MINICONDA_VERSION: "4.8.2"
PYTHON_ARCH: "64"

# Failing Tests Due to TypeError: LoadLibrary()
Expand Down
2 changes: 1 addition & 1 deletion docs/api/features/manifold.rst
Expand Up @@ -163,7 +163,7 @@ The same functionality above can be achieved with the associated quick method ``
.. code:: python
from yellowbrick.features.Manifold import manifold_embedding
from yellowbrick.features.manifold import manifold_embedding
from yellowbrick.datasets import load_concrete
# Load the regression dataset
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Expand Up @@ -10,8 +10,7 @@ tests = True
test=pytest

[tool:pytest]
# TODO: add --spec and --verbose back to addopts
addopts = --cov=yellowbrick --flakes
addopts = --verbose --cov=yellowbrick --flakes --spec
python_files = tests/*
flakes-ignore =
__init__.py UnusedImport
Expand Down
Binary file modified tests/baseline_images/test_draw/test_manual_legend.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tests/requirements.txt
Expand Up @@ -6,15 +6,15 @@ numpy>=1.13.0
cycler>=0.10.0

# Testing Requirements
pytest>=4.2.0, !=4.6.0
pytest>=5.0.0
pytest-cov>=2.6.1
pytest-flakes>=4.0.0
#pytest-spec>=1.1.0
pytest-spec>=2.0.0
coverage>=4.5.2

# Optional Testing Dependencies
nltk>=3.2
# spacy>=2.0.18
pandas>=0.20,<1
pandas>=1.0.4
umap-learn==0.3.9 # reminder to bump periodically!

2 changes: 1 addition & 1 deletion tests/test_classifier/test_threshold.py
Expand Up @@ -29,7 +29,7 @@

from unittest.mock import patch
from tests.base import VisualTestCase
from numpy.testing.utils import assert_array_equal
from numpy.testing import assert_array_equal

from sklearn.base import ClassifierMixin
from sklearn.svm import LinearSVC, NuSVC
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cluster/test_elbow.py
Expand Up @@ -23,7 +23,7 @@
import matplotlib.pyplot as plt

from scipy.sparse import csc_matrix, csr_matrix
from numpy.testing.utils import assert_array_almost_equal
from numpy.testing import assert_array_almost_equal

from sklearn.datasets import make_blobs
from sklearn.cluster import KMeans, MiniBatchKMeans
Expand Down
2 changes: 1 addition & 1 deletion tests/test_draw.py
Expand Up @@ -83,7 +83,7 @@ def test_manual_legend(self):
)

# Assert image similarity
self.assert_images_similar(ax=ax)
self.assert_images_similar(ax=ax, tol=0.5)

def test_vertical_bar_stack(self):
"""
Expand Down

0 comments on commit a61605f

Please sign in to comment.