Skip to content

Edge cases in eventplot are likely broken #7560

Closed
@anntzer

Description

@anntzer

The eventplot code currently contains the snippet

        if len(lineoffsets) == 0:
            lineoffsets = [None]
        if len(linelengths) == 0:
            linelengths = [None]
        if len(linewidths) == 0:
            lineoffsets = [None] # oops
        if len(linewidths) == 0:
            lineoffsets = [None] # oops
        if len(colors) == 0:
            colors = [None]

which is certainly incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions