class_docstr: Test ScatterViz
docstr: Test scatterviz on numpy named arrays
docstr_tok: ["Test","scatterviz","on","numpy","named","arrays"]
code: def test_integrated_scatter_numpy_named_arrays(self):
      """
      Test scatterviz on numpy named arrays
      """
      dt = np.dtype(
          {
              "names": ["one", "two", "three", "four", "five"],
              "formats": [
                  np.float64,
                  np.float64,
                  np.float64,
                  np.float64,
                  np.float64,
              ],
          }
      )
  
      X_named = self.X.astype(dt, casting="unsafe")
      visualizer = ScatterViz(features=["one", "two"])
      visualizer.fit_transform_show(X_named, self.y)
      assert visualizer.features_ == ["one", "two"]
  
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 13 for calling the TestScatterViz obj's underlying member method code with example usage: obj.test_integrated_scatter_numpy_named_arrays() without return types