Matplotlib Sphinx extensions for embedded plots (experimental)#
Sphinx extensions for embedded plots, math and more#
This module contains functions related to _sphinxext
.
A directive for including a Matplotlib plot in a Sphinx document
This is a Sphinx extension providing a reStructuredText directive .. plot::
for including a plot in a Sphinx document.
- ::
import matplotlib.pyplot as plt
plt.plot([1, 2, 3], [4, 5, 6])
plt.title("A plotting exammple")