{"comment":{"created_at":"2011-10-19T19:40:08Z","body":"Scratch that, you can already do multilines, so it's just a matter of writing the above more cleanly:\r\n<pre>\r\n\r\nc = get_config()\r\n\r\nc.IPKernelApp.exec_lines = [\"\"\"\r\nfrom IPython.zmq.pylab import backend_inline\r\ncfg = backend_inline.InlineBackendConfig.instance()\r\ncfg.close_figures = False\r\ncfg.figure_format = 'svg'\r\n\"\"\"\r\n                            ]\r\n</pre>","updated_at":"2011-10-19T19:40:08Z","url":"https://api.github.com/repos/ipython/ipython/issues/comments/2460237","id":2460237,"user":{"avatar_url":"https://secure.gravatar.com/avatar/95198572b00e5fbcd97fb5315215bf7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"95198572b00e5fbcd97fb5315215bf7a","url":"https://api.github.com/users/fperez","id":57394,"login":"fperez"}},"action":"created","issue":{"number":638,"created_at":"2011-07-29T19:41:25Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I was trying to modify some figures that I'd already created in --pylab=inline mode, and interestingly found that things behave somewhat weirdly, e.g. getfigs() doesn't work, and, for example, calling figure(1) repeatedly gets you a different object each time.\r\n\r\n    In [2]: figure(1)\r\n    Out[2]: <matplotlib.figure.Figure at 0x3c95e10>\r\n\r\n    In [3]: figure(1)\r\n    Out[3]: <matplotlib.figure.Figure at 0x3d213d0>\r\n\r\n    In [4]: figure(1)\r\n    Out[4]: <matplotlib.figure.Figure at 0x3d2ee10>\r\n\r\nShould this be considered a bug?","comments":12,"title":"Qt console --pylab=inline and getfigs(), etc.","updated_at":"2011-10-19T19:40:08Z","url":"https://api.github.com/repos/ipython/ipython/issues/638","id":1312185,"assignee":null,"milestone":{"number":6,"created_at":"2011-04-10T01:57:33Z","due_on":null,"title":"0.12","creator":{"avatar_url":"https://secure.gravatar.com/avatar/95198572b00e5fbcd97fb5315215bf7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"95198572b00e5fbcd97fb5315215bf7a","url":"https://api.github.com/users/fperez","id":57394,"login":"fperez"},"url":"https://api.github.com/repos/ipython/ipython/milestones/6","open_issues":69,"closed_issues":55,"description":"Stabilization of new apis after we get 0.11 out the door.","state":"open"},"closed_at":"2011-10-19T01:57:05Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/b684c02bab6c8d54c0c25c4b69ee1135?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b684c02bab6c8d54c0c25c4b69ee1135","url":"https://api.github.com/users/dwf","id":60206,"login":"dwf"},"html_url":"https://github.com/ipython/ipython/issues/638","labels":[{"name":"prio-medium","url":"https://api.github.com/repos/ipython/ipython/labels/prio-medium","color":"ba6414"},{"name":"qtconsole","url":"https://api.github.com/repos/ipython/ipython/labels/qtconsole","color":"027a10"},{"name":"status-active","url":"https://api.github.com/repos/ipython/ipython/labels/status-active","color":"eded11"},{"name":"type-enhancement","url":"https://api.github.com/repos/ipython/ipython/labels/type-enhancement","color":"d8a9c9"}],"state":"closed"},"legacy":{"issue_id":1312185,"comment_id":2460237}}