code: def _get_hf_props(nb_samples: int) -> dict:
      return {
          "hf_y": np.arange(nb_samples),
          "hf_text": np.arange(nb_samples).astype(str),
          "hf_hovertext": np.arange(nb_samples).astype(str)[::-1],
          "hf_marker_size": np.linspace(1, 10, nb_samples),
          "hf_marker_color": np.log10(np.arange(nb_samples) + 1),
      }
  
imports: from __future__ import annotations
  import copy
  import pickle
  import numpy
  import plotly.graph_objects
  from plotly.subplots import make_subplots
  from plotly_resampler import FigureResampler, FigureWidgetResampler
  from plotly_resampler.registering import register_plotly_resampler, unregister_plotly_resampler
  from .conftest import pickle_figure, registering_cleanup
label_desc: Use image node_id 1 for calling a global function with example usage: _get_hf_props(nb_samples) and returns: dict