Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
noahtren opened this issue Feb 25, 2020 · 0 comments

Comments

@noahtren
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant