/plotly-save-as-image

An example of ploly save as image

Primary LanguageMakefile

This is example source for plotly save image using Selenium

Background

Plotly rendered at the browser level, you need a web browser even if you use the documentation method

It is difficult to save images on headless server, So I try to solve it by using selenium.

Init

make init

Build docker environment

make docker-build

Run docker

make docker-run

Then you may see plotly screenshot file in output directory.