Skip to content

Commit cdac63d

Browse files
Fixes in docstrings for the geom_tile()/bin2d().
1 parent dd09639 commit cdac63d

File tree

1 file changed

+2
-2
lines changed
  • python-package/lets_plot/plot

1 file changed

+2
-2
lines changed

python-package/lets_plot/plot/geom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ def geom_bin2d(mapping=None, *, data=None, stat=None, position=None, show_legend
11771177
- alpha : transparency level of a layer. Accept values between 0 and 1.
11781178
- color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
11791179
- fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1180-
- size : line width. The default size is 0, so the stroke will be invisible.
1180+
- size : line width, default=0 (i.e. tiles outline initially is not visible).
11811181
- weight : used by 'bin' stat to compute weighted sum instead of simple count.
11821182
11831183
Examples
@@ -1321,7 +1321,7 @@ def geom_tile(mapping=None, *, data=None, stat=None, position=None, show_legend=
13211321
- alpha : transparency level of a layer. Accept values between 0 and 1.
13221322
- color (colour) : color of the geometry lines. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
13231323
- fill : fill color. String in the following formats: RGB/RGBA (e.g. "rgb(0, 0, 255)"); HEX (e.g. "#0000FF"); color name (e.g. "red"); role name ("pen", "paper" or "brush").
1324-
- size : line width. The default size is 0, so the stroke will be invisible.
1324+
- size : line width, default=0 (i.e. tiles outline initially is not visible).
13251325
- width : width of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
13261326
- height : height of a tile. Typically range between 0 and 1. Values that are greater than 1 lead to overlapping of the tiles.
13271327
- linetype : type of the line of tile's border. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.

0 commit comments

Comments
 (0)