This boilerplate repository is to facilitate implementation of a sphinx gallery plot.
git clone https://github.com/deepchecks/gallery-boilerplate.git
You will need python 3
cd gallery-boilerplate && virtualenv venv
pip install -r requirements.txt
If you use other libraries to generate a plot you can add those to this file.
For example, since we are using deepchecks then install that using
pip install deepchecks then you will be able to plot using deepchecks.
Edit source/plot/plot_test.py
make html
If you have nginx or apache running with root /var/www then do
cp -r build/html/* /var/www and hit http://localhost/ you will see gallery thumbnail.