File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,27 @@ the gallery would remain in those directories until they are cleaned
87
87
up. After clean-up, they would be moved to one of the new gallery
88
88
sections described above. "Clean-up" should involve:
89
89
90
+ * `sphinx-gallery docstrings <https://sphinx-gallery.readthedocs.io/ >`_: a
91
+ title and a description of the example formatted as follows, at the top of
92
+ the example::
93
+
94
+ """
95
+ ===============================
96
+ Colormaps alter your perception
97
+ ===============================
98
+
99
+ Here I plot the function
100
+
101
+ .. math:: f(x, y) = \sin(x) + \cos(y)
102
+
103
+ with different colormaps. Look at how colormaps alter your perception!
104
+ """
105
+
106
+
90
107
* PEP8 _ clean-ups (running `flake8
91
108
<https://pypi.python.org/pypi/flake8> `_, or a similar checker, is
92
109
highly recommended)
93
110
* Commented-out code should be removed.
94
- * Add introductory sentence or paragraph in the main docstring. See
95
- `6d1b8a2
96
- <https://github.com/tonysyu/matplotlib/commit/6d1b8a2ef277091eb718690e4443e6fa30cbc488> `_.
97
111
* Replace uses of ``pylab `` interface with ``pyplot `` (+ ``numpy ``,
98
112
etc.). See `c25ef1e
99
113
<https://github.com/tonysyu/matplotlib/commit/c25ef1e02b3a0ecb279492409dac0de9b3d2c0e2> `_
You can’t perform that action at this time.
0 commit comments