The tornado_embed.py example does
x = np.linspace(0, 10, 1000)
y = np.log(x)*np.sin(x)
This produces warnings as log(0) is being computed. Would be reasonable to change so that this condition is averted and the RunTime warning is not produced?
Certainly, I wrote those examples in a hurry right before the last release. But really, I only intended that to be placeholder code. I'd very much like to change them entirely to something that is
* much more interesting, but
* still reasonably short
If you have any ideas for a more compelling demonstration please share them or just make a PR!
The tornado_embed.py example does
x = np.linspace(0, 10, 1000)
y = np.log(x)*np.sin(x)
This produces warnings as log(0) is being computed. Would be reasonable to change so that this condition is averted and the RunTime warning is not produced?