{"action":"created","issue":{"url":"https://api.github.com/repos/ejeschke/ginga/issues/131","labels_url":"https://api.github.com/repos/ejeschke/ginga/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/ejeschke/ginga/issues/131/comments","events_url":"https://api.github.com/repos/ejeschke/ginga/issues/131/events","html_url":"https://github.com/ejeschke/ginga/issues/131","id":92544230,"number":131,"title":"Cuts Plugin Improvements","user":{"login":"ejeschke","id":1305473,"avatar_url":"https://avatars.githubusercontent.com/u/1305473?v=3","gravatar_id":"","url":"https://api.github.com/users/ejeschke","html_url":"https://github.com/ejeschke","followers_url":"https://api.github.com/users/ejeschke/followers","following_url":"https://api.github.com/users/ejeschke/following{/other_user}","gists_url":"https://api.github.com/users/ejeschke/gists{/gist_id}","starred_url":"https://api.github.com/users/ejeschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejeschke/subscriptions","organizations_url":"https://api.github.com/users/ejeschke/orgs","repos_url":"https://api.github.com/users/ejeschke/repos","events_url":"https://api.github.com/users/ejeschke/events{/privacy}","received_events_url":"https://api.github.com/users/ejeschke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-07-02T04:21:48Z","updated_at":"2015-07-29T20:26:34Z","closed_at":null,"body":"@pllim writes in issue #120:\r\n\r\n* When a cut is Drawn, is it possible to set the left drop-down menu back to \"None\"? Currently, the menu remains on the latest cut, which defaults to the behavior of overwriting the cut when I draw another line. If I forget to re-select \"None\" before drawing again, I lose my latest cut. Does that make sense?\r\n* Delete buttons can be disabled when there is nothing to delete. Right now, they just do nothing when you press them anyway, so this is more of a cosmetic improvement.\r\n* Plot should clear completely when the last cut is deleted, or when \"Delete All\" is pressed. Right now, the last cut is displayed if they are deleted one by one, or the whole plot remains if they are all deleted at once. The remaining plot is not meaningful because it is no longer associated with any cut lines. Again, a cosmetic improvement.\r\n* I notice that the cut color changes when I delete another cut. Personally, I am fine with it, but I don't know if other users will find it confusing. For example, Cut1 is green, Cut2 is red; Then, I delete Cut1, and now Cut2 is green."},"comment":{"url":"https://api.github.com/repos/ejeschke/ginga/issues/comments/126085792","html_url":"https://github.com/ejeschke/ginga/issues/131#issuecomment-126085792","issue_url":"https://api.github.com/repos/ejeschke/ginga/issues/131","id":126085792,"user":{"login":"nabobalis","id":1392107,"avatar_url":"https://avatars.githubusercontent.com/u/1392107?v=3","gravatar_id":"","url":"https://api.github.com/users/nabobalis","html_url":"https://github.com/nabobalis","followers_url":"https://api.github.com/users/nabobalis/followers","following_url":"https://api.github.com/users/nabobalis/following{/other_user}","gists_url":"https://api.github.com/users/nabobalis/gists{/gist_id}","starred_url":"https://api.github.com/users/nabobalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabobalis/subscriptions","organizations_url":"https://api.github.com/users/nabobalis/orgs","repos_url":"https://api.github.com/users/nabobalis/repos","events_url":"https://api.github.com/users/nabobalis/events{/privacy}","received_events_url":"https://api.github.com/users/nabobalis/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T20:26:34Z","updated_at":"2015-07-29T20:26:34Z","body":"you can add legends in matplotlib, you have to label the plot with the label keyword, label = 'name' and call plt.legend(). \n\nAssuming I've followed the conversation."}}