{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/852","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/852/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/852/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/852/events","html_url":"https://github.com/spyder-ide/spyder/issues/852","id":57870041,"number":852,"title":"Implement matlab-like cell features","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/21+%20stars","name":"21+ stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Editor","name":"Editor","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/12","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/12/labels","id":982154,"number":12,"title":"v2.2.3","description":null,"creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-02-17T00:35:20Z","updated_at":"2015-02-17T00:51:31Z","due_on":null,"closed_at":null},"comments":23,"created_at":"2015-02-17T00:51:31Z","updated_at":"2015-02-17T00:51:41Z","closed_at":null,"body":"_From [ricardob...@gmail.com](https://code.google.com/u/116032747765426583751/) on 2011-11-27T19:14:15Z_\n\nFirst of all, a big congratulation for making such a nice piece of open software. It's been a month since I've switched to Spyder form Matlab.\r\n\r\nCurrently I'm finishing my PhD and I'm working with an experimental data set, and after reading and processing millions of data point, I have to plot them y many different ways to search for patterns. \r\n\r\nI very useful feature of Matlab that I miss, is the 'cells'. Thanks to them I could split my code in two big cells, the first for reading and processing my data, and the second to make the plot. Thus, I just ran the first cell one to get processed data. Then, the data was ready to be plotted in many ways that I pictured many times on the fly, without the need to reprocess all my data. A time consuming task.\r\n\r\nWould it be possible to incorporate this in seamless way to the python script. Maybe with comment directive, as in Matlab?\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=852_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74599842","html_url":"https://github.com/spyder-ide/spyder/issues/852#issuecomment-74599842","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/852","id":74599842,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T00:51:41Z","updated_at":"2015-02-17T00:51:41Z","body":"_From [ben.ke...@gmail.com](https://code.google.com/u/109100566592319057834/) on 2013-03-06T10:57:01Z_\n\nAlso of note is that the change I made doesn't totally suffice: it also needs to remove all blank lines in the block before passing it to the interpreter, since the interpreter sees those as delimiting indented blocks. For example, this will fail with an error about unexpected indentation:\r\n\r\nfor i in xrange(2):\r\n    print i\r\n\r\n    print i+1\r\nprint 'done'"}}