Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'linetype' for theme elements #1072

Merged
merged 14 commits into from
Apr 3, 2024
Prev Previous commit
Next Next commit
Fix docstrings.
  • Loading branch information
OLarionova-HORIS committed Apr 2, 2024
commit 2da45cadc21cad90678a3bb8ee6700586944dbea
4 changes: 2 additions & 2 deletions python-package/lets_plot/plot/theme_.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def element_rect(
Border size.
linetype : int or str
Type of the line.
Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
blank : bool, default=False
If True - draws nothing, and assigns no space.

Expand Down Expand Up @@ -421,7 +421,7 @@ def element_line(
Line size.
linetype : int or str
Type of the line.
Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash.
Codes and names: 0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'.
blank : bool, default=False
If True - draws nothing, and assigns no space.

Expand Down