-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
In this comment we proposed to make dimensions created from coords
non-resizeable, because it would prevent users from running into issues like #5181.
What needs to be done
In
Lines 1070 to 1076 in dd23c90
def add_coord( | |
self, | |
name: str, | |
values: Optional[Sequence] = None, | |
*, | |
length: Optional[Variable] = None, | |
): |
set_coord
method could take another kwarg resizable: bool=False
or fixed: bool=True
.
Then we can actively turn off re-sizing of dimensions that are created from ConstantData
or coords
.