{"action":"created","issue":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/589","repository_url":"https://api.github.com/repos/tbreloff/Plots.jl","labels_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/589/labels{/name}","comments_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/589/comments","events_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/589/events","html_url":"https://github.com/tbreloff/Plots.jl/pull/589","id":191781710,"number":589,"title":"Allow errorbars in plots with categorical x axis (see #549 )","user":{"login":"piever","id":6333339,"avatar_url":"https://avatars.githubusercontent.com/u/6333339?v=3","gravatar_id":"","url":"https://api.github.com/users/piever","html_url":"https://github.com/piever","followers_url":"https://api.github.com/users/piever/followers","following_url":"https://api.github.com/users/piever/following{/other_user}","gists_url":"https://api.github.com/users/piever/gists{/gist_id}","starred_url":"https://api.github.com/users/piever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piever/subscriptions","organizations_url":"https://api.github.com/users/piever/orgs","repos_url":"https://api.github.com/users/piever/repos","events_url":"https://api.github.com/users/piever/events{/privacy}","received_events_url":"https://api.github.com/users/piever/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-26T02:11:19Z","updated_at":"2016-11-26T02:18:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/pulls/589","html_url":"https://github.com/tbreloff/Plots.jl/pull/589","diff_url":"https://github.com/tbreloff/Plots.jl/pull/589.diff","patch_url":"https://github.com/tbreloff/Plots.jl/pull/589.patch"},"body":" As mentioned in #549 , it is impossible to add errorbars to a plot if the x axis is categorical. This is simply because Plots.jl uses NaN separated segments to do that and it can't mix NaN with the x-values for a categorical x. This change expands the element-type of the x-axis to allow appending NaNs and now  having categorical variables doesn't create problems anymore:\r\n\r\n<img width=\"633\" alt=\"screenshot 2016-11-26 02 10 18\" src=\"https://cloud.githubusercontent.com/assets/6333339/20637363/81ddb914-b37d-11e6-9496-e34d9b5aa7e2.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/comments/263039246","html_url":"https://github.com/tbreloff/Plots.jl/pull/589#issuecomment-263039246","issue_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/589","id":263039246,"user":{"login":"tbreloff","id":933338,"avatar_url":"https://avatars.githubusercontent.com/u/933338?v=3","gravatar_id":"","url":"https://api.github.com/users/tbreloff","html_url":"https://github.com/tbreloff","followers_url":"https://api.github.com/users/tbreloff/followers","following_url":"https://api.github.com/users/tbreloff/following{/other_user}","gists_url":"https://api.github.com/users/tbreloff/gists{/gist_id}","starred_url":"https://api.github.com/users/tbreloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbreloff/subscriptions","organizations_url":"https://api.github.com/users/tbreloff/orgs","repos_url":"https://api.github.com/users/tbreloff/repos","events_url":"https://api.github.com/users/tbreloff/events{/privacy}","received_events_url":"https://api.github.com/users/tbreloff/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T02:18:39Z","updated_at":"2016-11-26T02:18:39Z","body":"Seems like a nice solution. Thanks. It might be a couple days before I have\na chance to merge. @simondanisch feel free to merge if you're around.\n\nOn Fri, Nov 25, 2016 at 9:11 PM piever <notifications@github.com> wrote:\n\n> As mentioned in #549 <https://github.com/tbreloff/Plots.jl/issues/549> ,\n> it is impossible to add errorbars to a plot if the x axis is categorical.\n> This is simply because Plots.jl uses NaN separated segments to do that and\n> it can't mix NaN with the x-values for a categorical x. This change expands\n> the element-type of the x-axis to allow appending NaNs and now having\n> categorical variables doesn't create problems anymore:\n> [image: screenshot 2016-11-26 02 10 18]\n> <https://cloud.githubusercontent.com/assets/6333339/20637363/81ddb914-b37d-11e6-9496-e34d9b5aa7e2.png>\n> ------------------------------\n> You can view, comment on, or merge this pull request online at:\n>\n>   https://github.com/tbreloff/Plots.jl/pull/589\n> Commit Summary\n>\n>    - Modified error_coords to allow errorbars in plots with categorical\n>    x-axis\n>\n> File Changes\n>\n>    - *M* src/recipes.jl\n>    <https://github.com/tbreloff/Plots.jl/pull/589/files#diff-0> (3)\n>    - *M* src/utils.jl\n>    <https://github.com/tbreloff/Plots.jl/pull/589/files#diff-1> (6)\n>\n> Patch Links:\n>\n>    - https://github.com/tbreloff/Plots.jl/pull/589.patch\n>    - https://github.com/tbreloff/Plots.jl/pull/589.diff\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/tbreloff/Plots.jl/pull/589>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AA492lAErIemmOw326UmKEg65vB_SKjmks5rB5VHgaJpZM4K8yMh>\n> .\n>\n"}}
{"actor":{"display_login":"tbreloff"}}