code: def reload_data(self):
      # this function is a workaround to reload the data of all the signals
      # if the data doesn't change, bokeh does not refresh the line
      temp_data = self.bokeh_source.data.copy()
      for col in self.bokeh_source.data.keys():
          if not self.last_reload_data_fix:
              temp_data[col] = temp_data[col][:-1]
      self.last_reload_data_fix = not self.last_reload_data_fix
      self.bokeh_source.data = temp_data
  
file_path: coach/rl_coach/dashboard_components/signals_file_base.py
imports: import numpy
  from bokeh.models import ColumnDataSource
  from rl_coach.dashboard_components.signals import Signal
  from rl_coach.dashboard_components.globals import x_axis, x_axis_options, show_spinner
label_desc: Use image node_id 7 for calling the SignalsFileBase obj's underlying member method code with example usage: obj.reload_data() without return types