Add text to scatterplot in specific location to make it look like quadrant chart

I am trying to create a quadrant chart using plotly express scatter. I currently have everything set, the only thing missing is that I want to add some text in specified areas marked in yellow to make it a quadrant. Is there a way to achieve that? It would also be ideal if the text location will adjust automatically based on where the vertical and horizontal line are drawn.

Simplified code below:

        fig = px.scatter(df, x='Density', y='Agility')
        fig.add_hline(y=agility_toggle/100,
                      annotation_text='<b>Target Agility</b>',
                      annotation_position='top right')
        fig.add_vline(x=density_toggle,
                      annotation_text='<b>Target Density</b>',
                      annotation_position='top right')
        return fig

See fig.add_annotation: Text and annotations in Python