def small_view_array(data):
    shp = data.shape
    view = tuple([slice(None, None, np.intp(max(s / 50, 1))) for s in shp])
    return np.asarray(data)[view]
Testing the PUT review-requests/<id>/draft/ API with commit_id
dataset/ETHPy150Open glue-viz/glue/glue/core/util.py/small_view_array--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_request_draft.py/ResourceTests.test_put_with_commit_id_and_used_in_review_request