@@ -1271,18 +1271,30 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1271
1271
The offset of the center of the lines from the origin, in the
1272
1272
direction orthogonal to *orientation*.
1273
1273
1274
+ A sequence must match the dimension of *positions*
1275
+ in the direction of *orientation*.
1276
+
1274
1277
linelengths : scalar or sequence of scalars, default: 1
1275
1278
The total height of the lines (i.e. the lines stretches from
1276
1279
``lineoffset - linelength/2`` to ``lineoffset + linelength/2``).
1277
1280
1281
+ If a sequence, then *positions* must be 2D and the length
1282
+ must match the first dimension of *positions*.
1283
+
1278
1284
linewidths : scalar, scalar sequence or None, default: None
1279
1285
The line width(s) of the event lines, in points. If it is None,
1280
1286
defaults to its rcParams setting.
1281
1287
1288
+ If a sequence, then *positions* must be 2D and the length
1289
+ must match the first dimension of *positions*.
1290
+
1282
1291
colors : color, sequence of colors or None, default: None
1283
1292
The color(s) of the event lines. If it is None, defaults to its
1284
1293
rcParams setting.
1285
1294
1295
+ If a sequence, then *positions* must be 2D and the length
1296
+ must match the first dimension of *positions*.
1297
+
1286
1298
linestyles : str or tuple or a sequence of such values, optional
1287
1299
Default is 'solid'. Valid strings are ['solid', 'dashed',
1288
1300
'dashdot', 'dotted', '-', '--', '-.', ':']. Dash tuples
@@ -1293,6 +1305,10 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1293
1305
where *onoffseq* is an even length tuple of on and off ink
1294
1306
in points.
1295
1307
1308
+ If a sequence, then *positions* must be 2D and the length
1309
+ must match the first dimension of *positions*.
1310
+
1311
+
1296
1312
**kwargs : optional
1297
1313
Other keyword arguments are line collection properties. See
1298
1314
`.LineCollection` for a list of the valid properties.
0 commit comments