PyError, RuntimeError('Error in qhull Delaunay triangulation calculation: singular input


#1

trying to run code:
using Plots
pyplot()
x=y= range( 10, stop = 81, length = 12)
r= sqrt.(x.^2 + y.^2)
z = sin.® ./r ;
Plots.plot(x,y,z, st= :surface, camera = (-30,30))

throws following error:
Error showing value of type Plots.Plot{Plots.PyPlotBackend}:
ERROR: PyError ($(Expr(:escape, :(ccall(#= /home/yasir/.julia/packages/PyCall/0jMpb/src/pyfncall.jl:44 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class ‘RuntimeError’>
RuntimeError('Error in qhull Delaunay triangulation calculation: singular input data (exitcode=2)