We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b7e02d + 43016ac commit 9986196Copy full SHA for 9986196
lib/matplotlib/sphinxext/plot_directive.py
@@ -90,7 +90,11 @@
90
Whether to show a link to the source in HTML.
91
92
plot_pre_code
93
- Code that should be executed before each plot.
+ Code that should be executed before each plot. If not specified or None
94
+ it will default to a string containing::
95
+
96
+ import numpy as np
97
+ from matplotlib import pyplot as plt
98
99
plot_basedir
100
Base directory, to which ``plot::`` file names are relative
0 commit comments