@@ -1091,9 +1091,10 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
10911091 linelengths = 1 , linewidths = None , colors = None ,
10921092 linestyles = 'solid' , ** kwargs ):
10931093 """
1094- Plot identical parallel lines at the given positions. positions should
1095- be a 1D or 2D array-like object, with each row corresponding to a row
1096- or column of lines.
1094+ Plot identical parallel lines at the given positions.
1095+
1096+ *positions* should be a 1D or 2D array-like object, with each row
1097+ corresponding to a row or column of lines.
10971098
10981099 This type of plot is commonly used in neuroscience for representing
10991100 neural events, where it is usually called a spike raster, dot raster,
@@ -1105,7 +1106,7 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
11051106 date of hurricanes each year of the last century.
11061107
11071108 Parameters
1108- ==========
1109+ ----------
11091110 positions : 1D or 2D array-like object.
11101111 Each value is an event. If *positions* is a 2D array-like, each
11111112 row corresponds to a row or a column of lines (depending on the
@@ -1138,23 +1139,24 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
11381139 where *onoffseq* is an even length tuple of on and off ink
11391140 in points.
11401141
1141- For linelengths, linewidths, colors, and linestyles, if only a single
1142- value is given, that value is applied to all lines. If an array-like
1143- is given, it must have the same length as positions, and each value
1144- will be applied to the corresponding row or column in positions.
1142+ For *linelengths*, *linewidths*, *colors*, and *linestyles*, if only
1143+ a single value is given, that value is applied to all lines. If an
1144+ array-like is given, it must have the same length as positions, and
1145+ each value will be applied to the corresponding row or column in
1146+ positions.
11451147
11461148 kwargs are :class:`~matplotlib.collections.LineCollection` properties:
11471149
11481150 %(LineCollection)s
11491151
11501152 Returns
1151- =======
1153+ -------
11521154
11531155 A list of :class:`matplotlib.collections.EventCollection` objects that
11541156 were added.
11551157
11561158 Example
1157- =======
1159+ -------
11581160
11591161 .. plot:: mpl_examples/pylab_examples/eventplot_demo.py
11601162 """
0 commit comments