{"action":"created","issue":{"url":"https://api.github.com/repos/gda-score/attacks/issues/9","repository_url":"https://api.github.com/repos/gda-score/attacks","labels_url":"https://api.github.com/repos/gda-score/attacks/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gda-score/attacks/issues/9/comments","events_url":"https://api.github.com/repos/gda-score/attacks/issues/9/events","html_url":"https://github.com/gda-score/attacks/issues/9","id":362930811,"node_id":"MDU6SXNzdWUzNjI5MzA4MTE=","number":9,"title":"Build GDA diagram using python matplotlib","user":{"login":"yoid2000","id":2162345,"node_id":"MDQ6VXNlcjIxNjIzNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2162345?v=4","gravatar_id":"","url":"https://api.github.com/users/yoid2000","html_url":"https://github.com/yoid2000","followers_url":"https://api.github.com/users/yoid2000/followers","following_url":"https://api.github.com/users/yoid2000/following{/other_user}","gists_url":"https://api.github.com/users/yoid2000/gists{/gist_id}","starred_url":"https://api.github.com/users/yoid2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoid2000/subscriptions","organizations_url":"https://api.github.com/users/yoid2000/orgs","repos_url":"https://api.github.com/users/yoid2000/repos","events_url":"https://api.github.com/users/yoid2000/events{/privacy}","received_events_url":"https://api.github.com/users/yoid2000/received_events","type":"User","site_admin":false},"labels":[{"id":1047855788,"node_id":"MDU6TGFiZWwxMDQ3ODU1Nzg4","url":"https://api.github.com/repos/gda-score/attacks/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"AnirbanGhosh1512","id":33103587,"node_id":"MDQ6VXNlcjMzMTAzNTg3","avatar_url":"https://avatars2.githubusercontent.com/u/33103587?v=4","gravatar_id":"","url":"https://api.github.com/users/AnirbanGhosh1512","html_url":"https://github.com/AnirbanGhosh1512","followers_url":"https://api.github.com/users/AnirbanGhosh1512/followers","following_url":"https://api.github.com/users/AnirbanGhosh1512/following{/other_user}","gists_url":"https://api.github.com/users/AnirbanGhosh1512/gists{/gist_id}","starred_url":"https://api.github.com/users/AnirbanGhosh1512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnirbanGhosh1512/subscriptions","organizations_url":"https://api.github.com/users/AnirbanGhosh1512/orgs","repos_url":"https://api.github.com/users/AnirbanGhosh1512/repos","events_url":"https://api.github.com/users/AnirbanGhosh1512/events{/privacy}","received_events_url":"https://api.github.com/users/AnirbanGhosh1512/received_events","type":"User","site_admin":false},"assignees":[{"login":"AnirbanGhosh1512","id":33103587,"node_id":"MDQ6VXNlcjMzMTAzNTg3","avatar_url":"https://avatars2.githubusercontent.com/u/33103587?v=4","gravatar_id":"","url":"https://api.github.com/users/AnirbanGhosh1512","html_url":"https://github.com/AnirbanGhosh1512","followers_url":"https://api.github.com/users/AnirbanGhosh1512/followers","following_url":"https://api.github.com/users/AnirbanGhosh1512/following{/other_user}","gists_url":"https://api.github.com/users/AnirbanGhosh1512/gists{/gist_id}","starred_url":"https://api.github.com/users/AnirbanGhosh1512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnirbanGhosh1512/subscriptions","organizations_url":"https://api.github.com/users/AnirbanGhosh1512/orgs","repos_url":"https://api.github.com/users/AnirbanGhosh1512/repos","events_url":"https://api.github.com/users/AnirbanGhosh1512/events{/privacy}","received_events_url":"https://api.github.com/users/AnirbanGhosh1512/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-09-23T10:18:44Z","updated_at":"2018-10-01T10:03:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a replacement for #2 , because I think it will be simpler and easier to build the diagram from matplotlib, and I learned that matplotlib lets you save graphs in both `png` and `svg` formats, which is what we'll need for the website.\r\n\r\nI've placed an initial version of the module in library/gdaPlot.py\r\n\r\nI've placed a simple program to test the module at tests/testGraphs.py\r\n\r\nThe current testGraphs.py produces the following plot:\r\n\r\n![image](https://user-images.githubusercontent.com/2162345/45926888-09474f00-bf2a-11e8-8cfb-fb611873d251.png)\r\n\r\nThis issue is to finish the diagram. Among the things that need to be done:\r\n\r\nAdd information text below the graph, more-or-less like you see in the example in #2. For this I added several types in the score data structure, including `anonType`, `anonSubType`, `rawDbName`, `anonDbName`, `table`, `criteria`, \r\n\r\nModify the two horizontal bars for that they are wider and start at the center line. (Currently I tried to plot a line with a large width, but this is not working right. You should probably draw a box or something).\r\n\r\nPut a box around the whole thing (including information text)\r\n"},"comment":{"url":"https://api.github.com/repos/gda-score/attacks/issues/comments/425853832","html_url":"https://github.com/gda-score/attacks/issues/9#issuecomment-425853832","issue_url":"https://api.github.com/repos/gda-score/attacks/issues/9","id":425853832,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTg1MzgzMg==","user":{"login":"yoid2000","id":2162345,"node_id":"MDQ6VXNlcjIxNjIzNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2162345?v=4","gravatar_id":"","url":"https://api.github.com/users/yoid2000","html_url":"https://github.com/yoid2000","followers_url":"https://api.github.com/users/yoid2000/followers","following_url":"https://api.github.com/users/yoid2000/following{/other_user}","gists_url":"https://api.github.com/users/yoid2000/gists{/gist_id}","starred_url":"https://api.github.com/users/yoid2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoid2000/subscriptions","organizations_url":"https://api.github.com/users/yoid2000/orgs","repos_url":"https://api.github.com/users/yoid2000/repos","events_url":"https://api.github.com/users/yoid2000/events{/privacy}","received_events_url":"https://api.github.com/users/yoid2000/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T10:03:03Z","updated_at":"2018-10-01T10:03:03Z","author_association":"CONTRIBUTOR","body":"The only code you really need to work on is `gdaPlot.py`, and any test software that calls it.  If you think you need to work on some other code, then there is a misunderstanding somewhere.\r\n"}}
{"actor":{"display_login":"yoid2000"}}