Procházet zdrojové kódy

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

Falko Schindler před 1 rokem
rodič
revize
a9235c0f5c
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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'])