Not sure what settings you used, but try experimenting around with you aperture and focal length (longer is better as a rule of thumb) to see if you can get more of the flower in focus and still get the pleasing background you achieved here.
Just a quick note because I’m picky about little details. 🙂
Using a longer focal length will get you less DOF, which in turn will make it harder to get the whole flower in focus. I’m not necessarily saying the advice is wrong, because using a longer FL will also make the “pleasing background”, you just have to choose which one you want to emphasize. 🙂