U really should check with your surgeon as it states on the paperwork once you sign as not to compromise your surgery as I’d any complications occur it wasn’t down to the op bur rather ur healing conditions/environment/ post op care.
Really also depends on how far you’re travelling and how long the flight is. It’s really to do with oxygen/blood to stop a blood clot from forming as air is thinner once ur in flight.