{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/926","labels_url":"https://api.github.com/repos/vispy/vispy/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/926/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/926/events","html_url":"https://github.com/vispy/vispy/pull/926","id":80613402,"number":926,"title":"Added example for mouse editing of line plot","user":{"login":"fschill","id":5278031,"avatar_url":"https://avatars.githubusercontent.com/u/5278031?v=3","gravatar_id":"","url":"https://api.github.com/users/fschill","html_url":"https://github.com/fschill","followers_url":"https://api.github.com/users/fschill/followers","following_url":"https://api.github.com/users/fschill/following{/other_user}","gists_url":"https://api.github.com/users/fschill/gists{/gist_id}","starred_url":"https://api.github.com/users/fschill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fschill/subscriptions","organizations_url":"https://api.github.com/users/fschill/orgs","repos_url":"https://api.github.com/users/fschill/repos","events_url":"https://api.github.com/users/fschill/events{/privacy}","received_events_url":"https://api.github.com/users/fschill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-25T17:50:36Z","updated_at":"2015-05-26T08:15:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vispy/vispy/pulls/926","html_url":"https://github.com/vispy/vispy/pull/926","diff_url":"https://github.com/vispy/vispy/pull/926.diff","patch_url":"https://github.com/vispy/vispy/pull/926.patch"},"body":"Hi, \r\n\r\nI'm looking into a simple vector graphics sketching framework, possibly as an add-on to vispy. As a first test I extended the line plot visual to add mouse events and simple mouse editing. The demo is based on various line-plot and pan-zoom demos from existing examples. In principle the demo works with multiple lines, but as a click into empty space creates a new point for all lines in this demo, it is somewhat unintuitive. \r\n\r\nIt seems to me that other visuals could be extended in a similar way, maybe even with a generic wrapper for basic point editing. Comments are welcome how to best integrate or add this feature.\r\n\r\nA potential issue I discovered is that the left-click pan interferes with left-click dragging line points. It would be great if the mouse buttons for camera actions could be configurable (e.g. right button for pan). \r\n\r\ncheers, \r\nFelix\r\n"},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/105438118","html_url":"https://github.com/vispy/vispy/pull/926#issuecomment-105438118","issue_url":"https://api.github.com/repos/vispy/vispy/issues/926","id":105438118,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T08:15:13Z","updated_at":"2015-05-26T08:15:13Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2648287/badge)](https://coveralls.io/builds/2648287)\n\nCoverage remained the same at 72.94% when pulling **dd7b050a59a324335cb88cb07f2c97ad68c3377c on fschill:master** into **6936898f862425dc677e06ee6dcfcdd4667cfd8d on vispy:master**.\n"}}