move matplotlib inlining to config option