Suppose I have a class Foo that stores two dependent attributes (both NumPy arrays) x and y. They should always have the same shape and s
Foo
x
y