{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/981","labels_url":"https://api.github.com/repos/vispy/vispy/issues/981/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/981/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/981/events","html_url":"https://github.com/vispy/vispy/issues/981","id":85805398,"number":981,"title":"using a TextVisual leads to unintended scaling of other Visual","user":{"login":"bollu","id":1694861,"avatar_url":"https://avatars.githubusercontent.com/u/1694861?v=3","gravatar_id":"","url":"https://api.github.com/users/bollu","html_url":"https://github.com/bollu","followers_url":"https://api.github.com/users/bollu/followers","following_url":"https://api.github.com/users/bollu/following{/other_user}","gists_url":"https://api.github.com/users/bollu/gists{/gist_id}","starred_url":"https://api.github.com/users/bollu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bollu/subscriptions","organizations_url":"https://api.github.com/users/bollu/orgs","repos_url":"https://api.github.com/users/bollu/repos","events_url":"https://api.github.com/users/bollu/events{/privacy}","received_events_url":"https://api.github.com/users/bollu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-06T19:37:42Z","updated_at":"2015-06-07T18:00:28Z","closed_at":null,"body":"I'm not sure if creating an issue is the right thing to do, but I haven't been able to debug this, so I decided to go ahead and just create one.\r\n\r\nThe problem is that when I use a ```TextVisual``` with multiple strings (as the constructor allows, it throws off the scaling _completely_ and causes the entire scene to become really tiny. I don't know why this happens.\r\n\r\nAlso, it __does  not__ happen if you have a ```TextVisual``` with just one string. This to me is even more perplexing. \r\n\r\n***Example of extreme scaling down:***\r\n\r\n![screenshot from 2015-06-07 01 02 36](https://cloud.githubusercontent.com/assets/1694861/8021130/f64e8e92-0cb0-11e5-970a-d05464d2a3fd.png)\r\n\r\n\r\n[example in which this happens](https://github.com/bollu/vispy/blob/colorbar-visual/examples/basics/visuals/colorbar_visual.py)\r\n\r\n\r\n[offending line of code](https://github.com/bollu/vispy/blob/colorbar-visual/vispy/visuals/colorbar.py#L195)\r\n\r\n\r\n***Proper rendering with one ```TextVisual```***\r\n\r\n![screenshot from 2015-06-07 01 07 16](https://cloud.githubusercontent.com/assets/1694861/8021149/8eae9c9a-0cb1-11e5-9faa-f8af6a4c952b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/109784356","html_url":"https://github.com/vispy/vispy/issues/981#issuecomment-109784356","issue_url":"https://api.github.com/repos/vispy/vispy/issues/981","id":109784356,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T18:00:28Z","updated_at":"2015-06-07T18:00:28Z","body":"interesting... I wonder if I did something stupid with the concatenation and position setting. If you have time to investigate (e.g., by adding some debugging `print` statements at various places in the text visual generation and drawing code) please do otherwise I can look tomorrow."}}