As long as the doctor who treated your leg thought that biking was ok, then it's a great idea. The stronger the muscles are, the less pain you will have, and the better your knee will hold up.
And, of course, toned legs are so much nicer looking, especially now that we're getting into summer.
You may benefit from exercising your legs at least a little bit every day, to prevent the muscles from tightening too much.