{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/8222","labels_url":"https://api.github.com/repos/ipython/ipython/issues/8222/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/8222/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/8222/events","html_url":"https://github.com/ipython/ipython/issues/8222","id":65877977,"number":8222,"title":"%matplotlib notebook: issue with mpl.rc_context","user":{"login":"cel4","id":3819470,"avatar_url":"https://avatars.githubusercontent.com/u/3819470?v=3","gravatar_id":"","url":"https://api.github.com/users/cel4","html_url":"https://github.com/cel4","followers_url":"https://api.github.com/users/cel4/followers","following_url":"https://api.github.com/users/cel4/following{/other_user}","gists_url":"https://api.github.com/users/cel4/gists{/gist_id}","starred_url":"https://api.github.com/users/cel4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cel4/subscriptions","organizations_url":"https://api.github.com/users/cel4/orgs","repos_url":"https://api.github.com/users/cel4/repos","events_url":"https://api.github.com/users/cel4/events{/privacy}","received_events_url":"https://api.github.com/users/cel4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-02T08:30:05Z","updated_at":"2015-04-04T08:21:12Z","closed_at":null,"body":"I noticed a weird behavior of `%matplotlib notebook` compared to `%matplotlib inline`:\r\n\r\nThis is my example notebook with 3 cells:\r\n\r\n```\r\n%matplotlib notebook\r\nimport matplotlib.pylab as plt\r\nimport matplotlib as mpl\r\n```\r\n\r\n```\r\nwith mpl.rc_context():\r\n    plt.hist([1,1,2,3,4], bins=4)\r\n```\r\n\r\n```\r\nplt.hist([4,3,2,2,1], bins=4)\r\n```\r\n\r\nThe plotting code in the third cell plots into the interactive figure of the second cell and the log shows the error message below:\r\n\r\n```\r\n[IPKernelApp] ERROR | No such comm: 22a56780552d410d9f4c61e62f6d8813\r\n[IPKernelApp] ERROR | No such comm: 22a56780552d410d9f4c61e62f6d8813\r\n```"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/89527566","html_url":"https://github.com/ipython/ipython/issues/8222#issuecomment-89527566","issue_url":"https://api.github.com/repos/ipython/ipython/issues/8222","id":89527566,"user":{"login":"cel4","id":3819470,"avatar_url":"https://avatars.githubusercontent.com/u/3819470?v=3","gravatar_id":"","url":"https://api.github.com/users/cel4","html_url":"https://github.com/cel4","followers_url":"https://api.github.com/users/cel4/followers","following_url":"https://api.github.com/users/cel4/following{/other_user}","gists_url":"https://api.github.com/users/cel4/gists{/gist_id}","starred_url":"https://api.github.com/users/cel4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cel4/subscriptions","organizations_url":"https://api.github.com/users/cel4/orgs","repos_url":"https://api.github.com/users/cel4/repos","events_url":"https://api.github.com/users/cel4/events{/privacy}","received_events_url":"https://api.github.com/users/cel4/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T08:21:12Z","updated_at":"2015-04-04T08:21:12Z","body":"Oh okay, thanks for clarification. Does not seem to be a real issue then."}}