Non-smoker ages vs. charges using plotly

Hi, I am trying to plot a line for estimated charges against age for non-smokers on a plot for actual charges against age using plotly (the example in the notebook uses matplotlib) but it comes up with a graph like this. Has anyone successfully plotted a similar graph/ knows how to plot this graph with plotly?

Hi, I got it already!