Explorar o código

let plotly call update from base class (fixes #1070)

Falko Schindler hai 1 ano
pai
achega
a9235c0f5c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      nicegui/elements/plotly.py

+ 1 - 0
nicegui/elements/plotly.py

@@ -37,6 +37,7 @@ class Plotly(Element):
         self.update()
 
     def update(self) -> None:
+        super().update()
         self._props['options'] = self._get_figure_json()
         self.run_method('update', self._props['options'])