Function
eventplot
(
positions: ArrayLike | Sequence[ArrayLike],
orientation: Literal["horizontal", "vertical"] = "horizontal",
lineoffsets: float | Sequence[float] = 1,
linelengths: float | Sequence[float] = 1,
linewidths: float | Sequence[float] | None = None,
colors: ColorType | Sequence[ColorType] | None = None,
alpha: float | Sequence[float] | None = None,
linestyles: LineStyleType | Sequence[LineStyleType] = "solid",
*,
data: DataParamType = None,
**kwargs,
)
Source from the content-addressed store, hash-verified
| 3459 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
| 3460 | @_copy_docstring_and_deprecators(Axes.eventplot) |
| 3461 | def eventplot( |
| 3462 | positions: ArrayLike | Sequence[ArrayLike], |
| 3463 | orientation: Literal["horizontal", "vertical"] = "horizontal", |
| 3464 | lineoffsets: float | Sequence[float] = 1, |
| 3465 | linelengths: float | Sequence[float] = 1, |
| 3466 | linewidths: float | Sequence[float] | None = None, |
| 3467 | colors: ColorType | Sequence[ColorType] | None = None, |
| 3468 | alpha: float | Sequence[float] | None = None, |
| 3469 | linestyles: LineStyleType | Sequence[LineStyleType] = "solid", |
| 3470 | *, |
| 3471 | data: DataParamType = None, |
| 3472 | **kwargs, |
| 3473 | ) -> EventCollection: |
| 3474 | return gca().eventplot( |
| 3475 | positions, |
| 3476 | orientation=orientation, |
| 3477 | lineoffsets=lineoffsets, |
| 3478 | linelengths=linelengths, |
| 3479 | linewidths=linewidths, |
| 3480 | colors=colors, |
| 3481 | alpha=alpha, |
| 3482 | linestyles=linestyles, |
| 3483 | **({"data": data} if data is not None else {}), |
| 3484 | **kwargs, |
| 3485 | ) |
| 3486 | |
| 3487 | |
| 3488 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…