class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Test manifold transform method
docstr_tok: ["Test","manifold","transform","method"]
code: def test_manifold_transform(
      self, mock_draw, mock_fit_transform, projection
  ):
      """
      Test manifold transform method
      """
      X, y = self.s_curves
      manifold = Manifold(
          manifold="lle",
          target="auto",
          n_neighbors=5,
          projection=projection,
      )
  
      manifold.fit(X, y)
      Xp = manifold.transform(X, y)
      assert Xp.shape == (X.shape[0], projection)
  
      mock_draw.assert_called_once()
  
imports: import pytest
  from yellowbrick.features.manifold import *
  from yellowbrick.utils.types import is_estimator
  from yellowbrick.features.base import TargetType
  from yellowbrick.exceptions import YellowbrickValueError, ModelError, NotFitted
  from sklearn.pipeline import Pipeline
  from sklearn.decomposition import PCA
  from sklearn.datasets import make_blobs
  from sklearn.datasets import make_s_curve
  from sklearn.manifold import LocallyLinearEmbedding
  from unittest.mock import patch
  from tests.base import VisualTestCase
label_desc: Use image node_id 9 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_transform(mock_draw, mock_fit_transform, projection) without return types