class_docstr: Tests for the high-level API of Yellowbrick and base classes
class_docstr_tok: ["Tests","for","the","high-level","API","of","Yellowbrick","and","base","classes"]
docstr: Assert that draw cannot be called at the base level
code: def test_draw_interface(self):
      """
      Assert that draw cannot be called at the base level
      """
      with pytest.raises(NotImplementedError):
          viz = Visualizer()
          viz.draw()
  
imports: import pytest
  import matplotlib.pyplot
  from yellowbrick.base import *
  from yellowbrick.base import VisualizerGrid
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickWarning
  from yellowbrick.exceptions import YellowbrickValueError
  from unittest.mock import patch
  from unittest.mock import MagicMock
  from tests.rand import RandomVisualizer
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from sklearn.svm import LinearSVC
  from sklearn.datasets import make_classification
label_desc: Use image node_id 5 for calling the TestBaseClasses obj's underlying member method code with example usage: obj.test_draw_interface() without return types