Source links can be shown or hidden for each Sphinx plot directive#
The Sphinx plot directive
(.. plot::
) now supports a :show-source-link:
option to show or hide
the link to the source code for each plot. The default is set using the
plot_html_show_source_link
variable in conf.py
(which
defaults to True).