<｜begin▁of▁sentence｜>### Instruction:
Given a rectangle initially positioned at the origin with a width of 2 and a height of 4, if you need to move the rectangle such that its bottom edge's Y coordinate is set to 1, how do you update the property using the `Rectangle.bottom` attribute?
### Response:
from matplotlib.patches import Rectangle

# Create a rectangle instance
rect = Rectangle((0, 0), width=2, height=4)

# Set the Y coordinate of the bottom edge
rect.bottom = 1

# Now the rectangle is moved such that the bottom edge's Y coordinate is 1
<|EOT|>
