code: def update_runtime_timeseries(funcs):
      if type(funcs) is str:
          funcs = [funcs]
      try:
          filtered_df = func_df[func_df["function"].isin(funcs)]
          filtered_df.sort_values("date", inplace=True)
      except KeyError:
          return render_emtpy_figure()
  
      fig = px.line(
          filtered_df,
          x="date",
          y="runtime crypten",
          template=template,
          color="function",
      )
  
      return fig
  
imports: import pathlib
  import dash
  import dash_core_components
  import dash_html_components
  import numpy
  import pandas
  import plotly.express
  import plotly.graph_objects
  from dash.dependencies import Input, Output
  from load_data import get_aggregated_data, get_available_dates
  from plotly.subplots import make_subplots
label_desc: Use image node_id 12 for calling a global function with example usage: update_runtime_timeseries(funcs) and returns: fig, render_emtpy_figure