Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.py
/ comp_num_list
Function
comp_num_list
tests/utils.py:83–87 ·
view source on GitHub ↗
(list1, list2, tol=10e-8)
Source
from the content-addressed store, hash-verified
81
82
83
def
comp_num_list(list1, list2, tol=10e-8):
84
for
item1, item2 in zip(list1, list2):
85
if
not comp_nums(item1, item2, tol):
86
return
False
87
return
True
88
89
90
def
is_num_list(item):
Callers
1
compare_dict
Function · 0.85
Calls
1
comp_nums
Function · 0.85
Tested by
no test coverage detected