Skip to content

Commit

Permalink
Docstrings: fix description of linetype.
Browse files Browse the repository at this point in the history
  • Loading branch information
OLarionova-HORIS committed Apr 2, 2024
1 parent 2e6c3ac commit 2620c63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python-package/lets_plot/bistro/qq.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def qq_plot(data=None, sample=None, *, x=None, y=None,
linetype : int or str
Type of the fitting line.
Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed',
3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
Returns
-------
Expand Down
8 changes: 4 additions & 4 deletions python-package/lets_plot/plot/geom.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def geom_line(mapping=None, *, data=None, stat=None, position=None, show_legend=
- y : y-axis value.
- alpha : transparency level of a layer. Accept values between 0 and 1.
- color (colour) : color of the geometry. 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").
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
- size : line width.
Examples
Expand Down Expand Up @@ -587,7 +587,7 @@ def geom_smooth(mapping=None, *, data=None, stat=None, position=None, show_legen
- alpha : transparency level of a layer. Accept values between 0 and 1.
- color (colour) : color of the geometry. 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").
- fill : fill color for the confidence interval around the line. 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").
- linetype : type of the line of conditional mean line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
- linetype : type of the line of conditional mean line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
- size : line width. Define line width for conditional mean and confidence bounds lines.
Examples
Expand Down Expand Up @@ -5066,7 +5066,7 @@ def geom_qq_line(mapping=None, *, data=None, stat=None, position=None, show_lege
- sample : y-axis value.
- alpha : transparency level of a layer. Accept values between 0 and 1.
- color (colour) : color of the geometry. 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").
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
- size : line width.
Examples
Expand Down Expand Up @@ -5177,7 +5177,7 @@ def geom_qq2_line(mapping=None, *, data=None, stat=None, position=None, show_leg
- y : y-axis value.
- alpha : transparency level of a layer. Accept values between 0 and 1.
- color (colour) : color of the geometry. 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").
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
- size : line width.
Examples
Expand Down
2 changes: 1 addition & 1 deletion python-package/lets_plot/plot/geom_function_.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def geom_function(mapping=None, *, data=None, stat=None, geom=None, position=Non
- x : x-axis value.
- alpha : transparency level of a layer. Accept values between 0 and 1.
- color (colour) : color of the geometry. 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").
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
- linetype : type of the line. Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
- size : line width.
Examples
Expand Down

0 comments on commit 2620c63

Please sign in to comment.