Adding a border to scatter plot on condition

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()