class_docstr: FeatureCorrelation visualizer
class_docstr_tok: ["FeatureCorrelation","visualizer"]
docstr: Test selecting feature by feature index but index is out of range
docstr_tok: ["Test","selecting","feature","by","feature","index","but","index","is","out","of","range"]
code: def test_feature_correlation_select_feature_by_index_out_of_range(
      self,
  ):
      """
      Test selecting feature by feature index but index is out of range
      """
      e = "Feature index is out of range"
      with pytest.raises(YellowbrickValueError, match=e):
          viz = FeatureCorrelation(feature_index=[0, 2, 10])
          viz.fit(self.X, self.y)
  
imports: import sys
  import pytest
  import numpy
  import numpy.testing
  from yellowbrick.target import FeatureCorrelation, feature_correlation
  from yellowbrick.exceptions import YellowbrickValueError, YellowbrickWarning
  from sklearn import datasets
  from tests.base import VisualTestCase
label_desc: Use image node_id 8 for calling the TestFeatureCorrelationVisualizer obj's underlying member method code with example usage: obj.test_feature_correlation_select_feature_by_index_out_of_range() without return types