ソースを参照

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

Falko Schindler 1 年間 前
コミット
a9235c0f5c
1 ファイル変更1 行追加0 行削除
  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'])