How to render a python generated plotly in html or reactjs?

Is it possible to render a python generated plotly graph in html or reactjs?If so,how?