I am attempting to highlight an outlier in a given set of data. My code is a follows:
import plotly.express as px
from scipy import stats
x = stats.norm.rvs(loc=0, scale=1, size=1000)
fig = px.strip(x=x)
fig.add_scatter(x=[-4])
with the resulting chart as this
the question: can that red point from go.Scatter() be viewed on the same yaxis as px.Strip? Or is there another way to achieve the desired goal of highlighting the red point with a unique color?