Skip to content

Commit

Permalink
Styling updates according to flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Maitreyee1 committed Nov 27, 2020
1 parent 4254b21 commit 828dbf2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions ci/.travis_install.sh
Expand Up @@ -40,6 +40,7 @@ fi


conda install matplotlib
conda install seaborn
conda install jupyter
conda install pytest

Expand Down
6 changes: 2 additions & 4 deletions mlxtend/plotting/__init__.py
Expand Up @@ -20,9 +20,6 @@
from .scatterplotmatrix import scatterplotmatrix
from .pca_correlation_graph import plot_pca_correlation_graph
from .scatter_hist import scatter_hist



__all__ = ["plot_learning_curves",
"plot_decision_regions",
"plot_confusion_matrix",
Expand All @@ -36,4 +33,5 @@
"checkerboard_plot",
"ecdf",
"scatterplotmatrix",
"plot_pca_correlation_graph","scatter_hist"]
"plot_pca_correlation_graph",
"scatter_hist"]
3 changes: 0 additions & 3 deletions mlxtend/plotting/scatter_hist.py
Expand Up @@ -3,9 +3,6 @@
# Author: Sebastian Raschka <sebastianraschka.com>
#
# License: BSD 3 clause



import seaborn as sns
import pandas as pd
import numpy as np
Expand Down
5 changes: 4 additions & 1 deletion mlxtend/plotting/tests/test_scatter_hist.py
Expand Up @@ -5,7 +5,10 @@

X, y = iris_data()
df = pd.DataFrame(X)
df.columns = ['sepal length [cm]', 'sepal width [cm]', 'petal length [cm]', 'petal width [cm]']
df.columns = (['sepal length [cm]',
'sepal width [cm]',
'petal length [cm]',
'petal width [cm]'])


def test_pass_data_as_dataframe():
Expand Down

0 comments on commit 828dbf2

Please sign in to comment.