class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Test manifold fit_transform method
docstr_tok: ["Test","manifold","fit_transform","method"]
code: def test_manifold_fit_transform(self, mock_draw, projection):
      """
      Test manifold fit_transform method
      """
      X, y = self.s_curves
      manifold = Manifold(target="auto", projection=projection)
  
      assert not hasattr(manifold, "fit_time_")
  
      Xp = manifold.fit_transform(X, y)
      assert Xp.shape == (X.shape[0], projection)
  
      mock_draw.assert_called_once()
      assert hasattr(manifold, "fit_time_")
      assert manifold._target_color_type == TargetType.CONTINUOUS
  
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 8 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_fit_transform(mock_draw, projection) without return types