Explorar o código

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 hai 8 meses
pai
achega
4c2cd6e9b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.