{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/1639","repository_url":"https://api.github.com/repos/JuliaPlots/Plots.jl","labels_url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/1639/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/1639/comments","events_url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/1639/events","html_url":"https://github.com/JuliaPlots/Plots.jl/issues/1639","id":349819255,"node_id":"MDU6SXNzdWUzNDk4MTkyNTU=","number":1639,"title":"`-->` ignored in series recipes","user":{"login":"mkborregaard","id":8429802,"node_id":"MDQ6VXNlcjg0Mjk4MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8429802?v=4","gravatar_id":"","url":"https://api.github.com/users/mkborregaard","html_url":"https://github.com/mkborregaard","followers_url":"https://api.github.com/users/mkborregaard/followers","following_url":"https://api.github.com/users/mkborregaard/following{/other_user}","gists_url":"https://api.github.com/users/mkborregaard/gists{/gist_id}","starred_url":"https://api.github.com/users/mkborregaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkborregaard/subscriptions","organizations_url":"https://api.github.com/users/mkborregaard/orgs","repos_url":"https://api.github.com/users/mkborregaard/repos","events_url":"https://api.github.com/users/mkborregaard/events{/privacy}","received_events_url":"https://api.github.com/users/mkborregaard/received_events","type":"User","site_admin":false},"labels":[{"id":252455283,"node_id":"MDU6TGFiZWwyNTI0NTUyODM=","url":"https://api.github.com/repos/JuliaPlots/Plots.jl/labels/bug","name":"bug","color":"fc2929","default":true},{"id":371167229,"node_id":"MDU6TGFiZWwzNzExNjcyMjk=","url":"https://api.github.com/repos/JuliaPlots/Plots.jl/labels/priority","name":"priority","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-12T15:02:51Z","updated_at":"2018-08-21T14:05:15Z","closed_at":null,"author_association":"MEMBER","body":"I noticed this as I was testing through all of StatPlots (it makes the ea_histogram recipe fail), but I also get it now even on very old (~1 year) versions of RecipesBase and Plots, and running on 0.6.3. If all users experience this, it is a big problem for the recipe ecosystem, so it is a priority. It is not 0.7-related.\r\n\r\n```julia\r\n@recipe function g(::Type{Val{:testhist}}, x, y, z)\r\n        markercolor := :red\r\n        seriestype := :scatter\r\n        ()\r\nend\r\n\r\n@recipe function f(::Type{Val{:testhist2}}, x, y, z)\r\n        markercolor --> :red\r\n         seriestype := :scatter\r\n         ()\r\nend\r\n\r\nplot(rand(10,2), st = [:testhist :testhist2], layout = 2)\r\n```\r\n\r\n<img width=\"591\" alt=\"skaermbillede 2018-08-12 kl 16 55 26\" src=\"https://user-images.githubusercontent.com/8429802/44003343-891a8502-9e51-11e8-858c-b708cbecfd98.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/comments/414686090","html_url":"https://github.com/JuliaPlots/Plots.jl/issues/1639#issuecomment-414686090","issue_url":"https://api.github.com/repos/JuliaPlots/Plots.jl/issues/1639","id":414686090,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDY4NjA5MA==","user":{"login":"mkborregaard","id":8429802,"node_id":"MDQ6VXNlcjg0Mjk4MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8429802?v=4","gravatar_id":"","url":"https://api.github.com/users/mkborregaard","html_url":"https://github.com/mkborregaard","followers_url":"https://api.github.com/users/mkborregaard/followers","following_url":"https://api.github.com/users/mkborregaard/following{/other_user}","gists_url":"https://api.github.com/users/mkborregaard/gists{/gist_id}","starred_url":"https://api.github.com/users/mkborregaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkborregaard/subscriptions","organizations_url":"https://api.github.com/users/mkborregaard/orgs","repos_url":"https://api.github.com/users/mkborregaard/repos","events_url":"https://api.github.com/users/mkborregaard/events{/privacy}","received_events_url":"https://api.github.com/users/mkborregaard/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T14:05:15Z","updated_at":"2018-08-21T14:05:15Z","author_association":"MEMBER","body":"I've looked deeply into this - it turns out that this is because defaults are added BEFORE series recipes (but after user/type recipes) are processed - so all the values are defined and `-->` is dropped. See https://github.com/JuliaPlots/Plots.jl/blob/master/src/plot.jl#L226-L234 \r\nI've looked at the file history, and to me it looks like it has always been this way - so indeed this probably never worked. But it should! The question is whether this can be refactored."}}
{"actor":{"display_login":"mkborregaard"}}