{"action":"created","issue":{"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/211","labels_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/211/comments","events_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/211/events","html_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/211","id":75613819,"number":211,"title":"[MRG] removed horizontal error bars from data marker in legend","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T13:59:04Z","updated_at":"2015-05-13T15:49:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/211","html_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/211","diff_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/211.diff","patch_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/211.patch"},"body":"As usual the devil is in the detail. When plots are drawn the parameter ```xerr``` determines the size of the x-error bar. In many cases it was set to ```False``` which is equivalent to 0. Therefore the legend was showing horizontal error bars.\r\n\r\nThe fix is simple: replace ```xerr = False``` with ```xerr = None```. "},"comment":{"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/comments/101722016","html_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/211#issuecomment-101722016","issue_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/211","id":101722016,"user":{"login":"jjacob","id":2691839,"avatar_url":"https://avatars.githubusercontent.com/u/2691839?v=3","gravatar_id":"","url":"https://api.github.com/users/jjacob","html_url":"https://github.com/jjacob","followers_url":"https://api.github.com/users/jjacob/followers","following_url":"https://api.github.com/users/jjacob/following{/other_user}","gists_url":"https://api.github.com/users/jjacob/gists{/gist_id}","starred_url":"https://api.github.com/users/jjacob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjacob/subscriptions","organizations_url":"https://api.github.com/users/jjacob/orgs","repos_url":"https://api.github.com/users/jjacob/repos","events_url":"https://api.github.com/users/jjacob/events{/privacy}","received_events_url":"https://api.github.com/users/jjacob/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T15:49:49Z","updated_at":"2015-05-13T15:49:49Z","body":"Update:\r\n- measurements scripts 01-05, 98 run fine.\r\n- The others fail:\r\n99_QCD_cross_checks: https://gist.github.com/jjacob/d275e7e318e94adc6706\r\nx_make_fit_variable_plots: https://gist.github.com/jjacob/958afb02322344827006\r\nx_make_control_plots (both before fit and after normalising to fit): https://gist.github.com/jjacob/9a68a521d1c965d20d32\r\nx_make_binning_plots (actually runs and completes but log file has warnings of bin numbers): https://gist.github.com/jjacob/d191e574018509bf0fbb"}}