Hi,
Iâm trying to add a border on condition for a column value. Is this possible in Plotly express?
fig = px.scatter(data,
x=âtop_exporterâ,
y=âimp_gdpâ,
animation_frame=âyearâ, animation_group=âhs_2â,
size=âsizeâ, color=âhs2_descâ, hover_name=âtextâ,
log_x=True, size_max=60, range_x=[data.top_exporter.min(), data.top_exporter.max()],range_y=[0,(data.imp_gdp.max()+.02)]
)
fig.layout.updatemenus[0].buttons[0].args[1][âframeâ][âdurationâ] = 1000
fig.layout.updatemenus[0].buttons[0].args[1][âtransitionâ][âdurationâ] = 1500
fig.show()