In the example for plotly_static found here, you have ImageFormat in the use plotly::{Plot, Scatter, ImageFormat};, but this does not work because ImageFormat is not re-exported with plotly_static, only with kaleido. Therefore, that example does not work, you have to pull in the plotly_static crate to fix it (and get access to the correct ImageFormat!
In the example for
plotly_staticfound here, you haveImageFormatin theuse plotly::{Plot, Scatter, ImageFormat};, but this does not work becauseImageFormatis not re-exported withplotly_static, only with kaleido. Therefore, that example does not work, you have to pull in theplotly_staticcrate to fix it (and get access to the correctImageFormat!