class_docstr: Test DecisionBoundariesVisualizer
class_docstr_tok: ["Test","DecisionBoundariesVisualizer"]
docstr: Test that the matplotlib called when the scatter plot isn't drawn
docstr_tok: ["Test","that","the","matplotlib","called","when","the","scatter","plot","is","n't","drawn"]
code: def test_draw_ax_show_scatter_False(self):
      """
      Test that the matplotlib called when the scatter plot isn't drawn
      """
      model = neighbors.KNeighborsClassifier(3)
      viz = DecisionBoundariesVisualizer(
          model, features=["one", "two"], show_scatter=False
      )
      fitted_viz = viz.fit(X_two_cols, y=y)
      fitted_viz.ax = mock.Mock()
      fitted_viz.ax.pcolormesh = mock.MagicMock()
      fitted_viz.ax.scatter = mock.MagicMock()
      fitted_viz.ax.legend = mock.MagicMock()
  
      fitted_viz.draw(X_two_cols, y=y)
      assert len(fitted_viz.ax.pcolormesh.mock_calls) == 1
      assert len(fitted_viz.ax.scatter.mock_calls) == 0
      assert len(fitted_viz.ax.legend.mock_calls) == 1
  
imports: import sys
  import pytest
  import numpy
  from unittest import mock
  from tests.base import VisualTestCase
  from yellowbrick.contrib.classifier import *
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn import datasets
  from sklearn import neighbors
  from sklearn import naive_bayes
label_desc: Use image node_id 13 for calling the TestDecisionBoundariesVisualizer obj's underlying member method code with example usage: obj.test_draw_ax_show_scatter_False() without return types