Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
prev_interv = float(iv)
traces.append(dict(
z=z,
x=x,
y=y,
# colorscale=[[i, 'rgb(%d,%d,255)' % (ci, ci)] for i in np.arange(0, 1.1, 0.1)],
# autocolorscale=True,
showscale=False,
type='surface',
))
return self._send({
'data': traces,
'win': win,
'eid': env,
'layout': _opts2layout(opts),
'opts': opts,
})