“resizable” here does not refer to the .resize_() function. But means you can’t change the size of the underlying data container.
What I guess happens here is that the size you give to .resize_() does not actually need to resize the underlying data container and so it is not an issue