Skip to content

Commit

Permalink
Revert "Add GridSearchColorPlot tests + minor gridsearch change"
Browse files Browse the repository at this point in the history
This reverts commit 5ebca26.
  • Loading branch information
tktran committed Oct 11, 2020
1 parent 5845189 commit 56de311
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 135 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
131 changes: 0 additions & 131 deletions tests/test_gridsearch/test_base.py

This file was deleted.

8 changes: 4 additions & 4 deletions yellowbrick/gridsearch/pcolor.py
Expand Up @@ -68,8 +68,8 @@ def gridsearch_color_plot(model, x_param, y_param, X=None, y=None, ax=None, **kw
Returns
-------
visualizer : GridSearchColorPlot
Returns visualizer
ax : matplotlib axes
Returns the axes that the classification report was drawn on.
"""
# Instantiate the visualizer
visualizer = GridSearchColorPlot(model, x_param, y_param, ax=ax, **kwargs)
Expand All @@ -80,8 +80,8 @@ def gridsearch_color_plot(model, x_param, y_param, X=None, y=None, ax=None, **kw
else:
visualizer.draw()

# Return the visualizer
return visualizer
# Return the axes object on the visualizer
return visualizer.ax


class GridSearchColorPlot(GridSearchVisualizer):
Expand Down

0 comments on commit 56de311

Please sign in to comment.