class_docstr: Test the RFECV visualizer
class_docstr_tok: ["Test","the","RFECV","visualizer"]
docstr: Test RFECV step=5 with LogisticRegression
docstr_tok: ["Test","RFECV","step=5","with","LogisticRegression"]
code: def test_rfecv_step(self):
      """
      Test RFECV step=5 with LogisticRegression
      """
      X, y = make_classification(
          n_samples=200,
          n_features=30,
          n_informative=18,
          n_redundant=6,
          n_repeated=0,
          n_classes=8,
          n_clusters_per_class=1,
          random_state=0,
      )
  
      oz = RFECV(LogisticRegression(random_state=32), step=5).fit(X, y)
      assert hasattr(oz, "n_feature_subsets_")
      npt.assert_array_equal(oz.n_feature_subsets_, np.arange(1, 35, 5))
  
      oz.finalize()
      tol = 1.75 if sys.platform == "win32" else 0.25
      self.assert_images_similar(oz, tol=tol, remove_legend=True)
  
imports: import sys
  import pytest
  import numpy
  import numpy.testing
  from unittest.mock import patch
  from tests.fixtures import Dataset
  from tests.base import VisualTestCase
  from yellowbrick.model_selection.rfecv import *
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn.svm import SVC
  from sklearn.datasets import make_classification
  from sklearn.model_selection import ShuffleSplit
  from sklearn.model_selection import StratifiedKFold
  from sklearn.linear_model import LogisticRegression
  from sklearn.ensemble import RandomForestClassifier
label_desc: Use image node_id 7 for calling the TestRFECV obj's underlying member method code with example usage: obj.test_rfecv_step() without return types