class_docstr: Test the AlphaSelection visualizer
class_docstr_tok: ["Test","the","AlphaSelection","visualizer"]
docstr: Test the quick method producing a valid visualization
docstr_tok: ["Test","the","quick","method","producing","a","valid","visualization"]
code: def test_quick_method(self):
      """
      Test the quick method producing a valid visualization
      """
      X, y = load_energy(return_dataset=True).to_numpy()
  
      visualizer = alphas(
          LassoCV(random_state=0), X, y, is_fitted=False, show=False
      )
      assert isinstance(visualizer, AlphaSelection)
      self.assert_images_similar(visualizer, tol=0.1)
  
imports: import sys
  import pytest
  import numpy
  from tests.base import VisualTestCase
  from numpy.testing import assert_array_equal
  from yellowbrick.datasets import load_energy, load_concrete
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.regressor.alphas import AlphaSelection, alphas
  from yellowbrick.regressor.alphas import ManualAlphaSelection, manual_alphas
  from sklearn.svm import SVR, SVC
  from sklearn.cluster import KMeans
  from sklearn.decomposition import PCA
  from sklearn.impute import SimpleImputer
  from sklearn.pipeline import Pipeline
  from sklearn.datasets import make_regression
  from sklearn.linear_model import Ridge, RidgeCV
  from sklearn.linear_model import Lasso, LassoCV
  from sklearn.linear_model import LassoLars, LassoLarsCV
  from sklearn.linear_model import ElasticNet, ElasticNetCV
label_desc: Use image node_id 10 for calling the TestAlphaSelection obj's underlying member method code with example usage: obj.test_quick_method() without return types