mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Small clarification to description of batch_by_properties
This commit is contained in:
parent
80dd37f763
commit
2beb1d1220
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ def batch_by_property(items, property_func):
|
||||||
Takes in a list, and returns a list of tuples, (batch, prop)
|
Takes in a list, and returns a list of tuples, (batch, prop)
|
||||||
such that all items in a batch have the same output when
|
such that all items in a batch have the same output when
|
||||||
put into property_func, and such that chaining all these
|
put into property_func, and such that chaining all these
|
||||||
batches together would give the original list.
|
batches together would give the original list (i.e. order is
|
||||||
|
preserved)
|
||||||
"""
|
"""
|
||||||
batch_prop_pairs = []
|
batch_prop_pairs = []
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue