Skip to content

issue in starting example | error: call can throw but is not marked with 'try' #119

@noahtren

Description

@noahtren

Hey, thanks so much for making this package! I'm getting into Swift for TF and am so glad that there's a platform-independent plotting library to use.

I ran into a minor error when running the simple line graph example. The Swift compiler seems to expect error-handling from lineGraph.drawGraphAndOutput since there's a chance that it can return an error. I'm new to Swift and am curious about what's the most idiomatic way to deal with this — or maybe there's a compiler setting that makes this a non-issue.

Thanks!

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