scikitplot.externals._sphinxext.figmpl_directive#

Add a figure-mpl directive that is a responsive version of figure.

This implementation is very similar to .. figure::, except it also allows a srcset= argument to be passed to the image tag, hence allowing responsive resolution images.

There is no particular reason this could not be used standalone, but is meant to be used with matplotlib.sphinxext.plot_directive.

Note that the directory organization is a bit different than .. figure::. See the FigureMpl documentation below.