class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Should allow a sklearn.Estimator object to be set as manifold
docstr_tok: ["Should","allow","a","sklearn.Estimator","object","to","be","set","as","manifold"]
code: def test_manifold_instance_construction(self):
      """
      Should allow a sklearn.Estimator object to be set as manifold
      """
      manifold = Pipeline(
          [
              ("pca", PCA(n_components=50)),
              ("lle", LocallyLinearEmbedding(n_components=2)),
          ]
      )
  
      oz = Manifold(manifold=manifold)
      assert oz.manifold is manifold
  
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 5 for calling the TestManifold obj's underlying member method code with example usage: obj.test_manifold_instance_construction() without return types