render_plotly_figure_as_image_file#

API documentation for tradeexecutor.visual.image_output.render_plotly_figure_as_image_file Python function.

render_plotly_figure_as_image_file(figure, format='png', width=512, height=512)[source]#

“Render Plotly figure as a static PNG image.

See

Parameters:
  • format (str) – “png” or “svg”

  • figure (Figure) –

  • width (int) –

  • height (int) –

Return type:

bytes