docstr: Test the show call with an outdir to save all the figures
docstr_tok: ["Test","the","show","call","with","an","outdir","to","save","all","the","figures"]
code: def test_pipeline_savefig_show(self):
      """
      Test the show call with an outdir to save all the figures
      """
      pipeline = VisualPipeline(
          [
              ("a", mock.MagicMock(MockTransformer())),
              ("b", mock.MagicMock(MockVisualTransformer())),
              ("c", mock.MagicMock(MockTransformer())),
              ("d", mock.MagicMock(MockVisualTransformer())),
              ("e", mock.MagicMock(MockVisualEstimator())),
          ]
      )
  
      # Must use path joining for Windows compatibility
      tmpdir = os.path.join("tmp", "figures")
  
      pipeline.show(outdir=tmpdir)
      pipeline.steps[1][1].show.assert_called_once_with(
          outpath=os.path.join(tmpdir, "b.pdf")
      )
      pipeline.steps[3][1].show.assert_called_once_with(
          outpath=os.path.join(tmpdir, "d.pdf")
      )
      pipeline.steps[4][1].show.assert_called_once_with(
          outpath=os.path.join(tmpdir, "e.pdf")
      )
  
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 4 for calling the TestVisualPipeline obj's underlying member method code with example usage: obj.test_pipeline_savefig_show() without return types