Skip to content

Commit

Permalink
Update settings docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Sep 3, 2023
1 parent fbe6d0d commit 880653f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tivars/types/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ def __init__(self, init=None, *,

@Section(8, String)
def name(self) -> str:
pass
"""
The name of the entry
This value is always ``Window``.
"""

@Section(min_data_length)
def calc_data(self) -> bytes:
Expand Down Expand Up @@ -274,7 +278,7 @@ def Xres(self, value) -> GraphRealEntry:
"""
Xres: the pixel separation of points in a function plot
The value must be an integer in [1,8]
The value must be an integer in ``[1,8]``.
"""

if int(value) != float(value) or not 1 <= int(value) <= 8:
Expand Down Expand Up @@ -349,7 +353,7 @@ def name(self) -> str:
"""
The name of the entry
Always equal to RclWindw.
This value is always ``RclWindw``.
"""

@Section(min_data_length)
Expand Down Expand Up @@ -531,7 +535,7 @@ def Xres(self, value) -> GraphRealEntry:
"""
Xres: the pixel separation of points in a function plot
The value must be an integer in [1,8]
The value must be an integer in ``[1,8]``.
"""

if int(value) != float(value) or not 1 <= int(value) <= 8:
Expand Down Expand Up @@ -606,7 +610,7 @@ def name(self) -> str:
"""
The name of the entry
Always equal to TblSet.
This value is always ``TblSet``.
"""

@Section(min_data_length)
Expand Down

0 comments on commit 880653f

Please sign in to comment.