IPython and matplotlib in knitr

I've been very pleased with knitr when writing dynamic documents for the web or in LaTeX. As I'm both an R and Python fan, I often found myself wanting to write Python code in knitr. However, the Python engine in knitr is quite basic and doesn't support ...