base_params = {'type': 'line', 'xref':'paper', 'yref': 'y', 'line_width': 0.8, 'x0': 0, 'x1': 1, 'line_color': '#A9A9A9'}
line_params = {'line': {'dash': 'dot'}}
shapes=[
dict(y0='avc', y1='avc', **base_params),
dict(y0='mic', y1='mic', **base_params, **line_params),
dict(y0='buyd', y1='buyd', **base_params, **line_params),
dict(y0='selld', y1='selld', **base_params, **line_params),
dict(y0='buyu', y1='buyu', **base_params, **line_params),
dict(y0='sellu', y1='sellu', **base_params, **line_params),
dict(y0='mac', y1='mac', **base_params, **line_params)
]
print(shapes)