Hi,
I have created a Gantt chart in plotly and added a company logo to the top right corner. The logo appears correctly in my Jupyter notebook and also appears correctly if I click the button to download plot as a png. However, if I try to save my image in the following code (using orca) it excludes the image. How can I get the image to stay??
plotly.offline.init_notebook_mode(connected=True)
import os
import plotly.io as pio
fig = ff.create_gantt(df, index_col='Resource', show_colorbar=True, width=1200, group_tasks=True, title='SUMA Landfill ESA', showgrid_x=True, showgrid_y=True) fig['layout'].update(xaxis=dict(nticks=40, showline=True, mirror=True, tickangle=70), yaxis=dict(showline=True, mirror=True), legend=dict(traceorder='reversed')) fig['layout'].update(images=[dict(source='logo left aligned.jpg', x=1.33, y=1, xanchor='right', yanchor='bottom', sizex=0.4, sizey=0.4)]) pio.write_image(fig, 'gantt_suma.png', scale=3) fig.show()