Where can I find Plotly chart sample codes based on 'add_trace()' method?

Hi @python-trader
Here is the page on add_trace(). However, almost every Plotly graph will have examples of both Plotly Express and then Plotly Graph Objects, which is what youโ€™re looking for.

Look at the line chart page. It has the first examples in Plotly Express and if you scroll down you can see Graph Objects examples with add_trace().