{"action":"created","issue":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/530","repository_url":"https://api.github.com/repos/tbreloff/Plots.jl","labels_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/530/comments","events_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/530/events","html_url":"https://github.com/tbreloff/Plots.jl/pull/530","id":182258342,"number":530,"title":"gr: changed heatmap code","user":{"login":"jheinen","id":5718244,"avatar_url":"https://avatars.githubusercontent.com/u/5718244?v=3","gravatar_id":"","url":"https://api.github.com/users/jheinen","html_url":"https://github.com/jheinen","followers_url":"https://api.github.com/users/jheinen/followers","following_url":"https://api.github.com/users/jheinen/following{/other_user}","gists_url":"https://api.github.com/users/jheinen/gists{/gist_id}","starred_url":"https://api.github.com/users/jheinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheinen/subscriptions","organizations_url":"https://api.github.com/users/jheinen/orgs","repos_url":"https://api.github.com/users/jheinen/repos","events_url":"https://api.github.com/users/jheinen/events{/privacy}","received_events_url":"https://api.github.com/users/jheinen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-10-11T13:04:17Z","updated_at":"2016-10-13T17:10:02Z","closed_at":"2016-10-11T13:32:53Z","pull_request":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/pulls/530","html_url":"https://github.com/tbreloff/Plots.jl/pull/530","diff_url":"https://github.com/tbreloff/Plots.jl/pull/530.diff","patch_url":"https://github.com/tbreloff/Plots.jl/pull/530.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/comments/253576467","html_url":"https://github.com/tbreloff/Plots.jl/pull/530#issuecomment-253576467","issue_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/530","id":253576467,"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-10-13T17:10:01Z","updated_at":"2016-10-13T17:10:01Z","body":"Didn't work:\r\n\r\n```\r\njulia> ENV[\"GRDIR\"]=\"\"\r\n\"\"\r\n\r\njulia> Pkg.build(\"GR\")\r\nINFO: Building GR\r\nINFO: Downloading pre-compiled GR latest Ubuntu binary\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 7935k  100 7935k    0     0  1386k      0  0:00:05  0:00:05 --:--:-- 1778k\r\n\r\njulia> using Plots; gr()\r\nUnable to load GR framework runtime environment\r\ntom@tom-office-ubuntu:~/.julia/v0.5/Plots$ julia\r\n               _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"?help\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.5.1-pre+2 (2016-09-20 03:34 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Commit f0d40ec (23 days old release-0.5)\r\n|__/                   |  x86_64-linux-gnu\r\n\r\njulia> using Plots; gr()\r\nPlots.GRBackend()\r\n\r\njulia> z = float((1:10) .* (1:20)')\r\n10×20 Array{Float64,2}:\r\n  1.0   2.0   3.0   4.0   5.0   6.0   7.0   8.0   9.0   10.0  …   13.0   14.0   15.0   16.0   17.0   18.0   19.0   20.0\r\n  2.0   4.0   6.0   8.0  10.0  12.0  14.0  16.0  18.0   20.0      26.0   28.0   30.0   32.0   34.0   36.0   38.0   40.0\r\n  3.0   6.0   9.0  12.0  15.0  18.0  21.0  24.0  27.0   30.0      39.0   42.0   45.0   48.0   51.0   54.0   57.0   60.0\r\n  4.0   8.0  12.0  16.0  20.0  24.0  28.0  32.0  36.0   40.0      52.0   56.0   60.0   64.0   68.0   72.0   76.0   80.0\r\n  5.0  10.0  15.0  20.0  25.0  30.0  35.0  40.0  45.0   50.0      65.0   70.0   75.0   80.0   85.0   90.0   95.0  100.0\r\n  6.0  12.0  18.0  24.0  30.0  36.0  42.0  48.0  54.0   60.0  …   78.0   84.0   90.0   96.0  102.0  108.0  114.0  120.0\r\n  7.0  14.0  21.0  28.0  35.0  42.0  49.0  56.0  63.0   70.0      91.0   98.0  105.0  112.0  119.0  126.0  133.0  140.0\r\n  8.0  16.0  24.0  32.0  40.0  48.0  56.0  64.0  72.0   80.0     104.0  112.0  120.0  128.0  136.0  144.0  152.0  160.0\r\n  9.0  18.0  27.0  36.0  45.0  54.0  63.0  72.0  81.0   90.0     117.0  126.0  135.0  144.0  153.0  162.0  171.0  180.0\r\n 10.0  20.0  30.0  40.0  50.0  60.0  70.0  80.0  90.0  100.0     130.0  140.0  150.0  160.0  170.0  180.0  190.0  200.0\r\n\r\njulia> z[rand(10,20).<.3]=NaN\r\nNaN\r\n\r\njulia> heatmap(z, clim=(30,100), bg=:pink)\r\n\r\njulia> png(\"/tmp/tmp\")\r\n```"}}
{"actor":{"display_login":"tbreloff"}}