Skip to content

Inconsistent return types from svg.read #59

@ezwelty

Description

@ezwelty

It seems that if an SVG group has one element of a kind, coordinates are returned bare, but if it has multiple elements of a kind, coordinates are returned wrapped in a list. For example, one polyline is returned as [(0, 0), (1, 1)] but two polyline are returned as [[(0, 0), (1, 1)], [(0, 0), (1, 1)]].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions