matplotlib python inline on/off
问题 If I start an ipython notebook with matplotlib inlined, is there a way to subsequently plot a figure so that it shows in the "standard", non-inlined, way, without having to reload the notebook without the inline command? I'd like to be able to have some figures inlined int he notebook, but others in the traditional interactive mode, where I can zoom and pan. 回答1: You can switch the matplotlib's backend by %matplotlib <backend> . To switch back to your system's default backend use %matplotlib