瀏覽代碼

slightly improved docstring for interactive image

Rodja Trappe 2 年之前
父節點
當前提交
6fc780dab9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nicegui/elements/interactive_image.py

+ 1 - 1
nicegui/elements/interactive_image.py

@@ -21,7 +21,7 @@ class InteractiveImage(SourceElement, ContentElement):
         Create an image with an SVG overlay that handles mouse events and yields image coordinates.
         Create an image with an SVG overlay that handles mouse events and yields image coordinates.
         It is also the best choice for non-flickering image updates.
         It is also the best choice for non-flickering image updates.
         If the source URL changes faster than images can be loaded by the browser, some images are simply skipped.
         If the source URL changes faster than images can be loaded by the browser, some images are simply skipped.
-        Thereby a stream of images automatically adapts to the available bandwidth.
+        Thereby repeatedly updating the image source will automatically adapt to the available bandwidth.
         See `OpenCV Webcam <https://github.com/zauberzeug/nicegui/tree/main/examples/opencv_webcam/main.py>`_ for an example.
         See `OpenCV Webcam <https://github.com/zauberzeug/nicegui/tree/main/examples/opencv_webcam/main.py>`_ for an example.
 
 
         :param source: the source of the image; can be an URL or a base64 string
         :param source: the source of the image; can be an URL or a base64 string