code: def pickle_figure():
      FIG_PATH = "fig.pkl"
      _remove_file(FIG_PATH)
      yield FIG_PATH
      _remove_file(FIG_PATH)
  
imports: import os
  from typing import Union
  import numpy
  import pandas
  import plotly.graph_objects
  import pytest
  from plotly.subplots import make_subplots
  from plotly_resampler import LTTB, EveryNthPoint, FigureResampler, unregister_plotly_resampler
label_desc: Use image node_id 3 for calling a global function with example usage: pickle_figure() without return types