Check with your doctor how to manage all medical issues including swelling of your leg, increased risk of blood clots, and mobility options.
Call the airline and talk to the medical advice desk (meda) too. When flying the leg can swell, many airlines require the cast
be cut almost in half to address this. A bulkhead seat will be far more comfortable. Arrive extra early and expect delays.