Hi, thank you for your replies, sorry for not explaining myself clearly but I am not referring to scale. Here's my senario. I don't want my latitude of my map extent to be any greater than 20 or any less than 10. If, for example, after zooming to my feature, the maximum latutude of my map extent turns out to be 20.5, I want to pull it back to 20. If the minimum latitude is say 8.5 after zooming, I want to pull it up to 10. I hope this is clear this time. I'm fairly new to python so coding examples would be really really helpful. Cheers, Damian