swiftplot
swiftplot copied to clipboard
issue in starting example | error: call can throw but is not marked with 'try'
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!