fig = go.Figure(
data=go.Scatter(x=[y_l[1], y_u[1]], y=[y_l[2], y_u[2]],
mode='markers',
marker={
'size': 8,
'symbol': 'x'
}),
layout={
'title': '$f_2$ vs $$f_3'
}
)
fig.add_shape({
'type':'rect',
'x0': y_l[1], 'x1': y_u[1],
'y0': y_l[2], 'y1': y_u[2],
}, line={
'width': 1
}, fillcolor='blue', opacity=.2)
fig.show()
I simply want to change the fill pattern of the rectangle I added. Tried below before:
marker={'marker_pattern_shape'='.'}