{"action":"created","issue":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/731","labels_url":"https://api.github.com/repos/mantidproject/mantid/issues/731/labels{/name}","comments_url":"https://api.github.com/repos/mantidproject/mantid/issues/731/comments","events_url":"https://api.github.com/repos/mantidproject/mantid/issues/731/events","html_url":"https://github.com/mantidproject/mantid/pull/731","id":75183239,"number":731,"title":"Sliceviewer axis swap issue","user":{"login":"eXeC64","id":808760,"avatar_url":"https://avatars.githubusercontent.com/u/808760?v=3","gravatar_id":"","url":"https://api.github.com/users/eXeC64","html_url":"https://github.com/eXeC64","followers_url":"https://api.github.com/users/eXeC64/followers","following_url":"https://api.github.com/users/eXeC64/following{/other_user}","gists_url":"https://api.github.com/users/eXeC64/gists{/gist_id}","starred_url":"https://api.github.com/users/eXeC64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eXeC64/subscriptions","organizations_url":"https://api.github.com/users/eXeC64/orgs","repos_url":"https://api.github.com/users/eXeC64/repos","events_url":"https://api.github.com/users/eXeC64/events{/privacy}","received_events_url":"https://api.github.com/users/eXeC64/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Bugfix","name":"Bugfix","color":"eb6420"},{"url":"https://api.github.com/repos/mantidproject/mantid/labels/Core","name":"Core","color":"e11d21"},{"url":"https://api.github.com/repos/mantidproject/mantid/labels/GUI","name":"GUI","color":"5319e7"},{"url":"https://api.github.com/repos/mantidproject/mantid/labels/MantidPlot","name":"MantidPlot","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"Anders-Markvardsen","id":1135476,"avatar_url":"https://avatars.githubusercontent.com/u/1135476?v=3","gravatar_id":"","url":"https://api.github.com/users/Anders-Markvardsen","html_url":"https://github.com/Anders-Markvardsen","followers_url":"https://api.github.com/users/Anders-Markvardsen/followers","following_url":"https://api.github.com/users/Anders-Markvardsen/following{/other_user}","gists_url":"https://api.github.com/users/Anders-Markvardsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anders-Markvardsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anders-Markvardsen/subscriptions","organizations_url":"https://api.github.com/users/Anders-Markvardsen/orgs","repos_url":"https://api.github.com/users/Anders-Markvardsen/repos","events_url":"https://api.github.com/users/Anders-Markvardsen/events{/privacy}","received_events_url":"https://api.github.com/users/Anders-Markvardsen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mantidproject/mantid/milestones/2","html_url":"https://github.com/mantidproject/mantid/milestones/Release%203.4","labels_url":"https://api.github.com/repos/mantidproject/mantid/milestones/2/labels","id":922405,"number":2,"title":"Release 3.4","description":"This is a placeholder in git for the [trac Release 3.4 milestone](http://trac.mantidproject.org/mantid/milestone/Release%203.4)","creator":{"login":"OwenArnold","id":1109536,"avatar_url":"https://avatars.githubusercontent.com/u/1109536?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenArnold","html_url":"https://github.com/OwenArnold","followers_url":"https://api.github.com/users/OwenArnold/followers","following_url":"https://api.github.com/users/OwenArnold/following{/other_user}","gists_url":"https://api.github.com/users/OwenArnold/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenArnold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenArnold/subscriptions","organizations_url":"https://api.github.com/users/OwenArnold/orgs","repos_url":"https://api.github.com/users/OwenArnold/repos","events_url":"https://api.github.com/users/OwenArnold/events{/privacy}","received_events_url":"https://api.github.com/users/OwenArnold/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":582,"state":"open","created_at":"2015-01-05T16:53:00Z","updated_at":"2015-05-12T09:17:33Z","due_on":"2015-05-18T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-11T11:11:34Z","updated_at":"2015-05-12T09:18:04Z","closed_at":"2015-05-12T09:17:33Z","pull_request":{"url":"https://api.github.com/repos/mantidproject/mantid/pulls/731","html_url":"https://github.com/mantidproject/mantid/pull/731","diff_url":"https://github.com/mantidproject/mantid/pull/731.diff","patch_url":"https://github.com/mantidproject/mantid/pull/731.patch"},"body":"This is for trac ticket [#11710](http://trac.mantidproject.org/mantid/ticket/11710)\r\n\r\nIf the axes of a plot are transposed, any existing plots update fine, with the exception of the axis labels. This pull request ensures that axis labels are recalculated so that they're always accurate.\r\n\r\nThis has been marked as **CORE** because it significantly affects the way axis labels of MantidPlot plots are set. Behaviour should **not** visibly change except for the one known issue: When a plot's curves are edited, then the axis labels are recalculated and any changes the user may have made to the labels are discarded. This is unavoidable as QwtPlot does not allow interception of user modifications to the axis labels, or notifications that it has happened.\r\n\r\n**Testing**:\r\n1. View a multidimensional workspace\r\n2. Create a line cut\r\n3. plot the resulting line in mantidplot and keep the plot open\r\n4. Now switch the axis in the sliceviewer\r\n5. You can continue to draw the lines and the plots update, but the x/y labels of the plots should be updated, but don't get redrawn. \r\n\r\n```\r\nCreateMDWorkspace(Dimensions='3', Extents='-10,10,-10,10,-10,10', Names='A,B,C', Units='U,U,U', OutputWorkspace='ws')\r\nFakeMDEventData(InputWorkspace='ws', UniformParams='10000')\r\n```"},"comment":{"url":"https://api.github.com/repos/mantidproject/mantid/issues/comments/101207003","html_url":"https://github.com/mantidproject/mantid/pull/731#issuecomment-101207003","issue_url":"https://api.github.com/repos/mantidproject/mantid/issues/731","id":101207003,"user":{"login":"Anders-Markvardsen","id":1135476,"avatar_url":"https://avatars.githubusercontent.com/u/1135476?v=3","gravatar_id":"","url":"https://api.github.com/users/Anders-Markvardsen","html_url":"https://github.com/Anders-Markvardsen","followers_url":"https://api.github.com/users/Anders-Markvardsen/followers","following_url":"https://api.github.com/users/Anders-Markvardsen/following{/other_user}","gists_url":"https://api.github.com/users/Anders-Markvardsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anders-Markvardsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anders-Markvardsen/subscriptions","organizations_url":"https://api.github.com/users/Anders-Markvardsen/orgs","repos_url":"https://api.github.com/users/Anders-Markvardsen/repos","events_url":"https://api.github.com/users/Anders-Markvardsen/events{/privacy}","received_events_url":"https://api.github.com/users/Anders-Markvardsen/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T09:18:04Z","updated_at":"2015-05-12T09:18:04Z","body":"Worked with attached script"}}