Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ContextLab/hypertools
/ test_plot_reduce2d
Function
test_plot_reduce2d
tests/test_plot.py:54–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
52
53
54
def
test_plot_reduce2d():
55
# should return 2d data since ndims=2
56
geo = plot.plot(data, ndims=2, show=False)
57
assert all([i.shape[1] == 2
for
i in geo.xform_data])
58
59
60
def
test_plot_reduce1d():
Callers
nothing calls this directly
Calls
1
plot
Method · 0.80
Tested by
no test coverage detected