Fix webgui autoscale

This commit is contained in:
Matthias Hochsteger 2023-07-09 00:14:46 +02:00
parent ea32b203d6
commit b8c2b08fdc

View File

@ -87,12 +87,11 @@ class WebGLScene(BaseWebGuiScene):
if "js_code" in kwargs:
d["on_init"] = kwargs["js_code"]
if set_minmax:
if "min" in kwargs:
d["funcmin"] = kwargs["min"]
if "max" in kwargs:
d["funcmax"] = kwargs["max"]
d["autoscale"] = kwargs["autoscale"]
d['autoscale'] = kwargs['autoscale']
if "vectors" in kwargs:
d["vectors"] = True