Add inline plotting and update docs.