Skip to content

Off-by-one error in line1 #13

@genrtul

Description

@genrtul

line1 quoted in full below:

-- | Plot a line between 0 and the length of the array with the given y values line1 :: (Foldable t, ToJSON (t a)) => t a -> Matplotlib line1 y = line [0..length y] y 

should be [0...length y - 1], otherwise the lengths are mismatched and python throws an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions