Skip to content

Commit 737883f

Browse files
committed
added example of big 1D array
1 parent f0d7339 commit 737883f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

larray_editor/api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ def make_demo(width=20, ball_radius=5, path_radius=5, steps=30):
363363
arr_obj = ndtest((2, 3)).astype(object)
364364
arr_str = ndtest((2, 3)).astype(str)
365365
big = ndtest((1000, 1000, 500))
366+
big1d = ndrange(1000000)
367+
# force big1d.axes[0]._mapping to be created so that we do not measure that delay in the editor
368+
big1d[{}]
366369

367370
# test autoresizing
368371
long_labels = zeros('a=a_long_label,another_long_label; b=this_is_a_label,this_is_another_one')

0 commit comments

Comments
 (0)