Skip to content

Commit

Permalink
Update GDB docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Sep 3, 2023
1 parent d881485 commit fbe6d0d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions tivars/types/gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def Xres(self, value: GraphRealEntry) -> GraphRealEntry:
"""
Xres: The pixel separation of points in a function plot
The value must be an integer between 1 and 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 @@ -852,7 +852,9 @@ def calc_data(self) -> bytes:
@View(calc_data, String)[-18:-15]
def color_magic(self) -> str:
"""
Magic to identify the GDB as color-oriented - ``84C``
Magic to identify the GDB as color-oriented
This value is always ``84C``.
"""

def mono(self) -> TIMonoFuncGDB:
Expand Down Expand Up @@ -1024,7 +1026,9 @@ def calc_data(self) -> bytes:
@View(calc_data, String)[-14:-11]
def color_magic(self) -> str:
"""
Magic to identify the GDB as color-oriented - ``84C``
Magic to identify the GDB as color-oriented
This value is always ``84C``.
"""

def mono(self) -> TIMonoParamGDB:
Expand Down Expand Up @@ -1150,7 +1154,9 @@ def calc_data(self) -> bytes:
@View(calc_data, String)[-14:-11]
def color_magic(self) -> str:
"""
Magic to identify the GDB as color-oriented - ``84C``
Magic to identify the GDB as color-oriented
This value is always ``84C``.
"""

def mono(self) -> TIMonoPolarGDB:
Expand Down Expand Up @@ -1387,7 +1393,9 @@ def calc_data(self) -> bytes:
@View(calc_data, String)[-11:-8]
def color_magic(self) -> str:
"""
Magic to identify the GDB as color-oriented - ``84C``
Magic to identify the GDB as color-oriented
This value is always ``84C``.
"""

def mono(self) -> TIMonoSeqGDB:
Expand Down

0 comments on commit fbe6d0d

Please sign in to comment.