{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5052","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5052/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5052/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5052/events","html_url":"https://github.com/matplotlib/matplotlib/issues/5052","id":106183700,"number":5052,"title":"When zooming a triangle is rendered instead of a rectangle.","user":{"login":"andnovar","id":400600,"avatar_url":"https://avatars.githubusercontent.com/u/400600?v=3","gravatar_id":"","url":"https://api.github.com/users/andnovar","html_url":"https://github.com/andnovar","followers_url":"https://api.github.com/users/andnovar/followers","following_url":"https://api.github.com/users/andnovar/following{/other_user}","gists_url":"https://api.github.com/users/andnovar/gists{/gist_id}","starred_url":"https://api.github.com/users/andnovar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andnovar/subscriptions","organizations_url":"https://api.github.com/users/andnovar/orgs","repos_url":"https://api.github.com/users/andnovar/repos","events_url":"https://api.github.com/users/andnovar/events{/privacy}","received_events_url":"https://api.github.com/users/andnovar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-12T20:35:54Z","updated_at":"2015-09-12T20:35:54Z","closed_at":null,"body":"Mpl is sending the number of vertex that are at least visible, for instance if the rectangle drawn is inside the bar it will send 0 paths since no paths are enclosed in that area. In the case of enclosing the right line it tries to create a mesh with the origin and the line enclosed. In the case of enclosing the left line since the origin and the line have the same y is just shown the line. This happens as well in Gtk and in none of the Agg backends neither backend_kivyagg. There is some clipping problem here.\r\n\r\n![screenshot from 2015-08-21 12 51 27](https://cloud.githubusercontent.com/assets/400600/9416779/bba8bc22-4815-11e5-826c-29fc91970716.png)\r\n![screenshot from 2015-08-21 12 51 35](https://cloud.githubusercontent.com/assets/400600/9416780/bbb6c56a-4815-11e5-8dda-b73840cda18f.png)\r\n"}}