From 78e745124bdc73055de786f3dc7591c7e32c1a89 Mon Sep 17 00:00:00 2001 From: Martin Turoci Date: Wed, 28 Sep 2022 14:39:06 +0200 Subject: [PATCH] docs: Add docstring. #1597 --- py/h2o_wave/types.py | 2 +- py/h2o_wave/ui.py | 2 +- r/R/ui.R | 2 +- ui/src/image_annotator.tsx | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/py/h2o_wave/types.py b/py/h2o_wave/types.py index f85da8673e..f986459a84 100644 --- a/py/h2o_wave/types.py +++ b/py/h2o_wave/types.py @@ -6412,7 +6412,7 @@ def load(__d: Dict) -> 'ImageAnnotatorRect': class ImageAnnotatorPoint: - """No documentation available. + """Create a polygon annotation point with x and y coordinates.. """ def __init__( self, diff --git a/py/h2o_wave/ui.py b/py/h2o_wave/ui.py index fc36a323fd..d1fe510356 100644 --- a/py/h2o_wave/ui.py +++ b/py/h2o_wave/ui.py @@ -2395,7 +2395,7 @@ def image_annotator_point( x: float, y: float, ) -> ImageAnnotatorPoint: - """No documentation available. + """Create a polygon annotation point with x and y coordinates.. Args: x: `x` coordinate of the point. diff --git a/r/R/ui.R b/r/R/ui.R index 482a5715c5..ef8afa5802 100644 --- a/r/R/ui.R +++ b/r/R/ui.R @@ -2787,7 +2787,7 @@ ui_image_annotator_rect <- function( return(.o) } -#' No documentation available. +#' Create a polygon annotation point with x and y coordinates.. #' #' @param x `x` coordinate of the point. #' @param y `y` coordinate of the point. diff --git a/ui/src/image_annotator.tsx b/ui/src/image_annotator.tsx index 812f475d70..0aa12d151d 100644 --- a/ui/src/image_annotator.tsx +++ b/ui/src/image_annotator.tsx @@ -8,6 +8,7 @@ import { AnnotatorTags } from './text_annotator' import { clas, cssVar, cssVarValue, px, rgb } from './theme' import { wave } from './ui' +/** Create a polygon annotation point with x and y coordinates.. */ export interface ImageAnnotatorPoint { /** `x` coordinate of the point. */ x: F