RoyAalekh commited on
Commit
5f40a6b
·
verified ·
1 Parent(s): 4fce4a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def load_data(selected_month):
107
  plot_temperature_curves.param.value
108
  )
109
  def update_iv_plot(inverter_ids, plot_power_curves, plot_temperature_curves):
110
- if not loaded_timeseries_data or not loaded_other_features_data:
111
  return pn.pane.Markdown("No data loaded.")
112
 
113
  if not inverter_ids:
 
107
  plot_temperature_curves.param.value
108
  )
109
  def update_iv_plot(inverter_ids, plot_power_curves, plot_temperature_curves):
110
+ if loaded_timeseries_data is None or loaded_other_features_data is None:
111
  return pn.pane.Markdown("No data loaded.")
112
 
113
  if not inverter_ids: