code: def registering_cleanup():
      # Cleans up the registering before and after each test
      unregister_plotly_resampler()
      yield
      unregister_plotly_resampler()
  
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 1 for calling a global function with example usage: registering_cleanup() without return types