SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of catching the error, wouldn't it be possible to test in or before the myplotfunction() function first if the error will occur (i.e. if the breaks are unique) and only plot it for those cases where it won't appear?!
myplotfunction()