docstr: Test that a bad estimator name raises a value error.
docstr_tok: ["Test","that","a","bad","estimator","name","raises","a","value","error","."]
code: def test_bad_estimator(self):
      """
      Test that a bad estimator name raises a value error.
      """
      fig, ax = plt.subplots()
      X, y = ANSCOMBE[1]
  
      with pytest.raises(YellowbrickValueError):
          draw_best_fit(X, y, ax, "pepper")
  
file_path: yellowbrick/tests/test_bestfit.py
imports: import pytest
  import numpy
  import matplotlib.pyplot
  from tests.base import VisualTestCase
  from yellowbrick.bestfit import *
  from yellowbrick.anscombe import ANSCOMBE
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn.linear_model import LinearRegression
  from sklearn.pipeline import Pipeline
label_desc: Use image node_id 1 for calling the TestBestFit obj's underlying member method code with example usage: obj.test_bad_estimator() without return types