mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-09-22 16:18:07 +08:00
Updated CI.
This commit is contained in:
@@ -118,7 +118,7 @@ def graph(height: int, width: int, xmin: float, xmax: float, ymin: float, ymax:
|
||||
if not array:
|
||||
return 1
|
||||
|
||||
if not (0 >= style > len(styles)):
|
||||
if not (0 <= style < len(styles)):
|
||||
return 1
|
||||
|
||||
if height == 0:
|
||||
|
@@ -44,7 +44,7 @@ def table(array: List[List[str]], headerrow: bool=False, headercolumn: bool=Fals
|
||||
if not array:
|
||||
return 1
|
||||
|
||||
if not (0 >= style > len(styles)):
|
||||
if not (0 <= style < len(styles)):
|
||||
return 1
|
||||
|
||||
rows = len(array)
|
||||
|
@@ -108,4 +108,4 @@ for k in range(len(graphs.styles)):
|
||||
|
||||
for k in range(len(graphs.styles)):
|
||||
graphs.functions(height, width, -(2 * math.pi), 2 *
|
||||
math.pi, -4, 4, [math.sin, math.cos, math.tan], style=k)
|
||||
math.pi, -4, 4, [math.sin, math.cos, math.tan], axisunitslabel=False, style=k)
|
||||
|
Reference in New Issue
Block a user