Просмотр исходного кода

Correct doc of `run_chart_method`. (#3703)

`Run a method of the JSONEditor instance.` in https://nicegui.io/documentation/echart#methods should be `Run a method of the EChart instance.`
PythonPan 8 месяцев назад
Родитель
Сommit
4c2cd6e9b4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      nicegui/elements/echart.py

+ 1 - 1
nicegui/elements/echart.py

@@ -100,7 +100,7 @@ class EChart(Element, component='echart.js', dependencies=['lib/echarts/echarts.
         self.run_method('update_chart')
 
     def run_chart_method(self, name: str, *args, timeout: float = 1) -> AwaitableResponse:
-        """Run a method of the JSONEditor instance.
+        """Run a method of the EChart instance.
 
         See the `ECharts documentation <https://echarts.apache.org/en/api.html#echartsInstance>`_ for a list of methods.