class_docstr: Test ScatterViz
docstr: Assert that only two features are allowed for scatter visualizer init
docstr_tok: ["Assert","that","only","two","features","are","allowed","for","scatter","visualizer","init"]
code: def test_scatter_only_two_features_allowed_init(self):
      """
      Assert that only two features are allowed for scatter visualizer init
      """
      features = ["temperature", "relative humidity", "light"]
  
      with pytest.raises(YellowbrickValueError):
          ScatterViz(features=features)
  
imports: import pytest
  import numpy
  from unittest import mock
  from tests.base import VisualTestCase
  from yellowbrick.contrib.scatter import *
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.style import palettes
label_desc: Use image node_id 5 for calling the TestScatterViz obj's underlying member method code with example usage: obj.test_scatter_only_two_features_allowed_init() without return types