Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): Add screenshot of cross-validation plot
This is a quick fix to address #594. In the end, I took a screenshot manually (by using the "Download plot as png" button of the Plotly widget) and displayed it with matplotlib. Here are all the alternatives I considered, and what didn't work with them: - Use SVG instead of PNG - For that, I'd need to use Plotly's `fig.write_image`, and the library that Plotly uses for this, Kaleido, is currently broken: plotly/Kaleido#210 - Export plotly figure to a file during the example and read it - For that I also need Plotly's `fig.write_image` - Use Pillow for displaying, instead of matplotlib (which is not really made for that) - Only matplotlib is supported by sphinx-gallery, the library that renders the examples
- Loading branch information