I have used the plotly.io function write_figure to save my plotly.go figure to a png format. I then automatically input the figure in a template using docxtemplate , inlineI