@register.filter(name='param_height')
def param_height(view_config):
  graph_per_row = 3
  height_per_row = 295
  return (len(view_config) + (graph_per_row - 1)) / graph_per_row * height_per_row

# generate picture width
dataset/ETHPy150Open XiaoMi/minos/owl/monitor/templatetags/extended_filter.py/param_height/original