{"action":"created","comment":{"url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/comments/29405794","id":29405794,"diff_hunk":"@@ -105,6 +111,9 @@ namespace roboptim\n \n       /// \\brief Whether to export the header (imports etc.).\n       bool withHeader_;\n+\n+      /// \\brief Whether to expect multiple plots or not.\n+      unsigned int multiplot_;","path":"include/roboptim/core/visualization/matplotlib.hh","position":38,"original_position":38,"commit_id":"f18381b8caa7ca6a6ef1a16665cfbecec7f73c18","original_commit_id":"f18381b8caa7ca6a6ef1a16665cfbecec7f73c18","user":{"login":"bchretien","id":2742231,"avatar_url":"https://avatars.githubusercontent.com/u/2742231?v=3","gravatar_id":"","url":"https://api.github.com/users/bchretien","html_url":"https://github.com/bchretien","followers_url":"https://api.github.com/users/bchretien/followers","following_url":"https://api.github.com/users/bchretien/following{/other_user}","gists_url":"https://api.github.com/users/bchretien/gists{/gist_id}","starred_url":"https://api.github.com/users/bchretien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchretien/subscriptions","organizations_url":"https://api.github.com/users/bchretien/orgs","repos_url":"https://api.github.com/users/bchretien/repos","events_url":"https://api.github.com/users/bchretien/events{/privacy}","received_events_url":"https://api.github.com/users/bchretien/received_events","type":"User","site_admin":false},"body":"I think a `std::pair<unsigned int, unsigned int>` would be better to specific the layout, rather than forcing the plot on a single column.","created_at":"2015-04-30T06:15:37Z","updated_at":"2015-04-30T06:15:37Z","html_url":"https://github.com/roboptim/roboptim-core/pull/94#discussion_r29405794","pull_request_url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/comments/29405794"},"html":{"href":"https://github.com/roboptim/roboptim-core/pull/94#discussion_r29405794"},"pull_request":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94","id":34430355,"html_url":"https://github.com/roboptim/roboptim-core/pull/94","diff_url":"https://github.com/roboptim/roboptim-core/pull/94.diff","patch_url":"https://github.com/roboptim/roboptim-core/pull/94.patch","issue_url":"https://api.github.com/repos/roboptim/roboptim-core/issues/94","number":94,"state":"open","locked":false,"title":"Allow multiplots in matplotlib","user":{"login":"fdarricau","id":11023095,"avatar_url":"https://avatars.githubusercontent.com/u/11023095?v=3","gravatar_id":"","url":"https://api.github.com/users/fdarricau","html_url":"https://github.com/fdarricau","followers_url":"https://api.github.com/users/fdarricau/followers","following_url":"https://api.github.com/users/fdarricau/following{/other_user}","gists_url":"https://api.github.com/users/fdarricau/gists{/gist_id}","starred_url":"https://api.github.com/users/fdarricau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdarricau/subscriptions","organizations_url":"https://api.github.com/users/fdarricau/orgs","repos_url":"https://api.github.com/users/fdarricau/repos","events_url":"https://api.github.com/users/fdarricau/events{/privacy}","received_events_url":"https://api.github.com/users/fdarricau/received_events","type":"User","site_admin":false},"body":"Adding tools to be able to do cleaner plots using matplotlib tools, plus a test to show it.\r\n\r\nIn detail, this commit allow users to:\r\n- print well-defined titles for their plots (beware of calling command after the actual plot, it is a matplotlib mandatory and it won't work otherwise)\r\n- print several curves on the same figure in a multiplot style, instead of merging all into a single plot, which leads to poor readability","created_at":"2015-04-30T05:53:07Z","updated_at":"2015-04-30T06:15:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45f8e415309601f6701f97787a40d61d2e391968","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94/commits","review_comments_url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94/comments","review_comment_url":"https://api.github.com/repos/roboptim/roboptim-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/roboptim/roboptim-core/issues/94/comments","statuses_url":"https://api.github.com/repos/roboptim/roboptim-core/statuses/f18381b8caa7ca6a6ef1a16665cfbecec7f73c18","head":{"label":"fdarricau:master","ref":"master","sha":"f18381b8caa7ca6a6ef1a16665cfbecec7f73c18","user":{"login":"fdarricau","id":11023095,"avatar_url":"https://avatars.githubusercontent.com/u/11023095?v=3","gravatar_id":"","url":"https://api.github.com/users/fdarricau","html_url":"https://github.com/fdarricau","followers_url":"https://api.github.com/users/fdarricau/followers","following_url":"https://api.github.com/users/fdarricau/following{/other_user}","gists_url":"https://api.github.com/users/fdarricau/gists{/gist_id}","starred_url":"https://api.github.com/users/fdarricau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdarricau/subscriptions","organizations_url":"https://api.github.com/users/fdarricau/orgs","repos_url":"https://api.github.com/users/fdarricau/repos","events_url":"https://api.github.com/users/fdarricau/events{/privacy}","received_events_url":"https://api.github.com/users/fdarricau/received_events","type":"User","site_admin":false},"repo":{"id":31193997,"name":"roboptim-core","full_name":"fdarricau/roboptim-core","owner":{"login":"fdarricau","id":11023095,"avatar_url":"https://avatars.githubusercontent.com/u/11023095?v=3","gravatar_id":"","url":"https://api.github.com/users/fdarricau","html_url":"https://github.com/fdarricau","followers_url":"https://api.github.com/users/fdarricau/followers","following_url":"https://api.github.com/users/fdarricau/following{/other_user}","gists_url":"https://api.github.com/users/fdarricau/gists{/gist_id}","starred_url":"https://api.github.com/users/fdarricau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdarricau/subscriptions","organizations_url":"https://api.github.com/users/fdarricau/orgs","repos_url":"https://api.github.com/users/fdarricau/repos","events_url":"https://api.github.com/users/fdarricau/events{/privacy}","received_events_url":"https://api.github.com/users/fdarricau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fdarricau/roboptim-core","description":"RobOptim Core Layer: interface and basic mathematical tools","fork":true,"url":"https://api.github.com/repos/fdarricau/roboptim-core","forks_url":"https://api.github.com/repos/fdarricau/roboptim-core/forks","keys_url":"https://api.github.com/repos/fdarricau/roboptim-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fdarricau/roboptim-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fdarricau/roboptim-core/teams","hooks_url":"https://api.github.com/repos/fdarricau/roboptim-core/hooks","issue_events_url":"https://api.github.com/repos/fdarricau/roboptim-core/issues/events{/number}","events_url":"https://api.github.com/repos/fdarricau/roboptim-core/events","assignees_url":"https://api.github.com/repos/fdarricau/roboptim-core/assignees{/user}","branches_url":"https://api.github.com/repos/fdarricau/roboptim-core/branches{/branch}","tags_url":"https://api.github.com/repos/fdarricau/roboptim-core/tags","blobs_url":"https://api.github.com/repos/fdarricau/roboptim-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fdarricau/roboptim-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fdarricau/roboptim-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/fdarricau/roboptim-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fdarricau/roboptim-core/statuses/{sha}","languages_url":"https://api.github.com/repos/fdarricau/roboptim-core/languages","stargazers_url":"https://api.github.com/repos/fdarricau/roboptim-core/stargazers","contributors_url":"https://api.github.com/repos/fdarricau/roboptim-core/contributors","subscribers_url":"https://api.github.com/repos/fdarricau/roboptim-core/subscribers","subscription_url":"https://api.github.com/repos/fdarricau/roboptim-core/subscription","commits_url":"https://api.github.com/repos/fdarricau/roboptim-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/fdarricau/roboptim-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/fdarricau/roboptim-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/fdarricau/roboptim-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/fdarricau/roboptim-core/contents/{+path}","compare_url":"https://api.github.com/repos/fdarricau/roboptim-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fdarricau/roboptim-core/merges","archive_url":"https://api.github.com/repos/fdarricau/roboptim-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fdarricau/roboptim-core/downloads","issues_url":"https://api.github.com/repos/fdarricau/roboptim-core/issues{/number}","pulls_url":"https://api.github.com/repos/fdarricau/roboptim-core/pulls{/number}","milestones_url":"https://api.github.com/repos/fdarricau/roboptim-core/milestones{/number}","notifications_url":"https://api.github.com/repos/fdarricau/roboptim-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fdarricau/roboptim-core/labels{/name}","releases_url":"https://api.github.com/repos/fdarricau/roboptim-core/releases{/id}","created_at":"2015-02-23T04:31:28Z","updated_at":"2015-04-30T06:07:18Z","pushed_at":"2015-04-30T06:07:18Z","git_url":"git://github.com/fdarricau/roboptim-core.git","ssh_url":"git@github.com:fdarricau/roboptim-core.git","clone_url":"https://github.com/fdarricau/roboptim-core.git","svn_url":"https://github.com/fdarricau/roboptim-core","homepage":"http://www.roboptim.net","size":54619,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"roboptim:master","ref":"master","sha":"ebf98e6c293113cd7729f7560deafb2ac2cea7be","user":{"login":"roboptim","id":2247067,"avatar_url":"https://avatars.githubusercontent.com/u/2247067?v=3","gravatar_id":"","url":"https://api.github.com/users/roboptim","html_url":"https://github.com/roboptim","followers_url":"https://api.github.com/users/roboptim/followers","following_url":"https://api.github.com/users/roboptim/following{/other_user}","gists_url":"https://api.github.com/users/roboptim/gists{/gist_id}","starred_url":"https://api.github.com/users/roboptim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roboptim/subscriptions","organizations_url":"https://api.github.com/users/roboptim/orgs","repos_url":"https://api.github.com/users/roboptim/repos","events_url":"https://api.github.com/users/roboptim/events{/privacy}","received_events_url":"https://api.github.com/users/roboptim/received_events","type":"Organization","site_admin":false},"repo":{"id":890115,"name":"roboptim-core","full_name":"roboptim/roboptim-core","owner":{"login":"roboptim","id":2247067,"avatar_url":"https://avatars.githubusercontent.com/u/2247067?v=3","gravatar_id":"","url":"https://api.github.com/users/roboptim","html_url":"https://github.com/roboptim","followers_url":"https://api.github.com/users/roboptim/followers","following_url":"https://api.github.com/users/roboptim/following{/other_user}","gists_url":"https://api.github.com/users/roboptim/gists{/gist_id}","starred_url":"https://api.github.com/users/roboptim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roboptim/subscriptions","organizations_url":"https://api.github.com/users/roboptim/orgs","repos_url":"https://api.github.com/users/roboptim/repos","events_url":"https://api.github.com/users/roboptim/events{/privacy}","received_events_url":"https://api.github.com/users/roboptim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roboptim/roboptim-core","description":"RobOptim Core Layer: interface and basic mathematical tools","fork":false,"url":"https://api.github.com/repos/roboptim/roboptim-core","forks_url":"https://api.github.com/repos/roboptim/roboptim-core/forks","keys_url":"https://api.github.com/repos/roboptim/roboptim-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roboptim/roboptim-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roboptim/roboptim-core/teams","hooks_url":"https://api.github.com/repos/roboptim/roboptim-core/hooks","issue_events_url":"https://api.github.com/repos/roboptim/roboptim-core/issues/events{/number}","events_url":"https://api.github.com/repos/roboptim/roboptim-core/events","assignees_url":"https://api.github.com/repos/roboptim/roboptim-core/assignees{/user}","branches_url":"https://api.github.com/repos/roboptim/roboptim-core/branches{/branch}","tags_url":"https://api.github.com/repos/roboptim/roboptim-core/tags","blobs_url":"https://api.github.com/repos/roboptim/roboptim-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roboptim/roboptim-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roboptim/roboptim-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/roboptim/roboptim-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roboptim/roboptim-core/statuses/{sha}","languages_url":"https://api.github.com/repos/roboptim/roboptim-core/languages","stargazers_url":"https://api.github.com/repos/roboptim/roboptim-core/stargazers","contributors_url":"https://api.github.com/repos/roboptim/roboptim-core/contributors","subscribers_url":"https://api.github.com/repos/roboptim/roboptim-core/subscribers","subscription_url":"https://api.github.com/repos/roboptim/roboptim-core/subscription","commits_url":"https://api.github.com/repos/roboptim/roboptim-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/roboptim/roboptim-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/roboptim/roboptim-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/roboptim/roboptim-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/roboptim/roboptim-core/contents/{+path}","compare_url":"https://api.github.com/repos/roboptim/roboptim-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roboptim/roboptim-core/merges","archive_url":"https://api.github.com/repos/roboptim/roboptim-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roboptim/roboptim-core/downloads","issues_url":"https://api.github.com/repos/roboptim/roboptim-core/issues{/number}","pulls_url":"https://api.github.com/repos/roboptim/roboptim-core/pulls{/number}","milestones_url":"https://api.github.com/repos/roboptim/roboptim-core/milestones{/number}","notifications_url":"https://api.github.com/repos/roboptim/roboptim-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roboptim/roboptim-core/labels{/name}","releases_url":"https://api.github.com/repos/roboptim/roboptim-core/releases{/id}","created_at":"2010-09-05T21:05:16Z","updated_at":"2015-04-30T04:35:06Z","pushed_at":"2015-04-30T06:07:18Z","git_url":"git://github.com/roboptim/roboptim-core.git","ssh_url":"git@github.com:roboptim/roboptim-core.git","clone_url":"https://github.com/roboptim/roboptim-core.git","svn_url":"https://github.com/roboptim/roboptim-core","homepage":"http://www.roboptim.net","size":27166,"stargazers_count":14,"watchers_count":14,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":16,"forks":12,"open_issues":16,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94"},"html":{"href":"https://github.com/roboptim/roboptim-core/pull/94"},"issue":{"href":"https://api.github.com/repos/roboptim/roboptim-core/issues/94"},"comments":{"href":"https://api.github.com/repos/roboptim/roboptim-core/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/roboptim/roboptim-core/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/roboptim/roboptim-core/statuses/f18381b8caa7ca6a6ef1a16665cfbecec7f73c18"}}}}