docstr: Test calling fit, transform, and show on the pipeline
docstr_tok: ["Test","calling","fit",",","transform",",","and","show","on","the","pipeline"]
code: def test_fit_transform_show_and_draw_calls(self):
      """
      Test calling fit, transform, and show on the pipeline
      """
  
      pipeline = VisualPipeline(
          [
              ("a", mock.MagicMock(MockTransformer())),
              ("b", mock.MagicMock(MockVisualTransformer())),
              ("c", mock.MagicMock(MockTransformer())),
              ("d", mock.MagicMock(MockVisualTransformer())),
              ("e", mock.MagicMock(MockEstimator())),
          ]
      )
  
      X = [[1, 1, 1, 1, 1], [2, 2, 2, 2, 2], [3, 3, 3, 3, 3]]
  
      y = [1, 2, 3, 4, 5]
  
      pipeline.fit(X, y)
      for name, step in pipeline.named_steps.items():
          step.fit.assert_called_once_with(X, y)
  
      pipeline.transform(X)
      for name, step in pipeline.named_steps.items():
          if name == "e":
              continue
          step.transform.assert_called_once_with(X)
  
      pipeline.show()
      for name, step in pipeline.named_steps.items():
          if name in {"a", "c", "e"}:
              continue
          step.show.assert_called_once_with(outpath=None)
  
imports: import os
  import pytest
  from unittest import mock
  from yellowbrick.base import Visualizer
  from yellowbrick.pipeline import VisualPipeline
  from sklearn.pipeline import Pipeline
  from sklearn.base import BaseEstimator, TransformerMixin
label_desc: Use image node_id 5 for calling the TestVisualPipeline obj's underlying member method code with example usage: obj.test_fit_transform_show_and_draw_calls() without return types