{"action":"created","issue":{"url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/1","repository_url":"https://api.github.com/repos/musinsky/ROOTHighlight","labels_url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/1/comments","events_url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/1/events","html_url":"https://github.com/musinsky/ROOTHighlight/issues/1","id":308377241,"number":1,"title":"SetHighlight(kFALSE) in TGraph destructor","user":{"login":"musinsky","id":244597,"avatar_url":"https://avatars3.githubusercontent.com/u/244597?v=4","gravatar_id":"","url":"https://api.github.com/users/musinsky","html_url":"https://github.com/musinsky","followers_url":"https://api.github.com/users/musinsky/followers","following_url":"https://api.github.com/users/musinsky/following{/other_user}","gists_url":"https://api.github.com/users/musinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/musinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musinsky/subscriptions","organizations_url":"https://api.github.com/users/musinsky/orgs","repos_url":"https://api.github.com/users/musinsky/repos","events_url":"https://api.github.com/users/musinsky/events{/privacy}","received_events_url":"https://api.github.com/users/musinsky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-25T19:21:49Z","updated_at":"2018-04-26T15:30:46Z","closed_at":"2018-03-28T10:10:52Z","author_association":"OWNER","body":""},"comment":{"url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/comments/384684780","html_url":"https://github.com/musinsky/ROOTHighlight/issues/1#issuecomment-384684780","issue_url":"https://api.github.com/repos/musinsky/ROOTHighlight/issues/1","id":384684780,"user":{"login":"musinsky","id":244597,"avatar_url":"https://avatars3.githubusercontent.com/u/244597?v=4","gravatar_id":"","url":"https://api.github.com/users/musinsky","html_url":"https://github.com/musinsky","followers_url":"https://api.github.com/users/musinsky/followers","following_url":"https://api.github.com/users/musinsky/following{/other_user}","gists_url":"https://api.github.com/users/musinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/musinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musinsky/subscriptions","organizations_url":"https://api.github.com/users/musinsky/orgs","repos_url":"https://api.github.com/users/musinsky/repos","events_url":"https://api.github.com/users/musinsky/events{/privacy}","received_events_url":"https://api.github.com/users/musinsky/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T15:30:46Z","updated_at":"2018-04-26T15:30:46Z","author_association":"OWNER","body":"![palette problem](https://i.imgur.com/VPpgSZQ.gif)\r\n\r\n```\r\nvoid palette_problem()\r\n{\r\n   auto h2 = new TH2F(\"h2\", \"h2\", 10, -5, 5, 10, -5, 5);\r\n   Float_t x, y;\r\n   for (Int_t i = 0; i < 10000; i++) {\r\n      gRandom->Rannor(x, y);\r\n      h2->Fill(x, y);\r\n   }\r\n\r\n   auto c1 = new TCanvas();\r\n   c1->Divide(2, 1);\r\n   c1->cd(1);\r\n   h2->Draw(\"\");\r\n   c1->cd(2);\r\n   h2->Draw(\"colz\");\r\n   c1->SetFillColor(kGray);\r\n   c1->Update();\r\n   if (!c1->GetShowEventStatus()) c1->ToggleEventStatus();\r\n   c1->Connect(\"ProcessedEvent(Int_t,Int_t,Int_t,TObject*)\",\r\n               0, 0, \"ProcessedEventPrint(Int_t,Int_t,Int_t,TObject*)\");\r\n}\r\n\r\nvoid ProcessedEventPrint(Int_t e, Int_t, Int_t, TObject *o)\r\n{\r\n   Printf(\"ProcessedEvent => event: %d, object: %s\", e, o->GetName());\r\n   Printf(\"%d\", gPad->GetNumber());\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"musinsky"}}