code: def _check_visualization_libraries():
      if plt is None:
          raise ImportError(
              "Failed to import `matplotlib`."
              "To use visualization callbacks install `matplotlib`."
              "For example: pip install matplotlib"
          )
      if sns is None:
          raise ImportError(
              "Failed to import `seaborn`."
              "To use visualization callbacks install `seaborn`."
              "For example: pip install seaborn"
          )
  
imports: import io
  import os
  import numpy
  import tensorflow
  from tensorflow.keras.callbacks import Callback
  from sklearn.preprocessing import MinMaxScaler
label_desc: Use image node_id 1 for calling a global function with example usage: _check_visualization_libraries() without return types