Procházet zdrojové kódy

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 před 8 měsíci
rodič
revize
4c2cd6e9b4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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.