{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7004","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7004/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7004/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7004/events","html_url":"https://github.com/matplotlib/matplotlib/issues/7004","id":173874514,"number":7004,"title":"Zooming with a large range in y-values while using the linestyle \"--\" is very slow","user":{"login":"hsgg","id":261949,"avatar_url":"https://avatars.githubusercontent.com/u/261949?v=3","gravatar_id":"","url":"https://api.github.com/users/hsgg","html_url":"https://github.com/hsgg","followers_url":"https://api.github.com/users/hsgg/followers","following_url":"https://api.github.com/users/hsgg/following{/other_user}","gists_url":"https://api.github.com/users/hsgg/gists{/gist_id}","starred_url":"https://api.github.com/users/hsgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsgg/subscriptions","organizations_url":"https://api.github.com/users/hsgg/orgs","repos_url":"https://api.github.com/users/hsgg/repos","events_url":"https://api.github.com/users/hsgg/events{/privacy}","received_events_url":"https://api.github.com/users/hsgg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-29T21:15:46Z","updated_at":"2016-08-29T22:47:48Z","closed_at":"2016-08-29T22:47:48Z","body":"Zooming in on a part of a plot with a large range in y-values while using the linestyle \"--\" is very slow.\r\n\r\nThe following minimal working example hangs at the plt.show() line.\r\n\r\n    import numpy as np\r\n    import matplotlib.pyplot as plt\r\n\r\n    x = np.linspace(0,2)\r\n    y = [0.5]*25 + [1.5e13]*25\r\n\r\n    plt.plot(x, y, ls='--')\r\n\r\n    plt.ylim(0, 2)\r\n\r\n    plt.show()\r\n\r\nThe problem can also be experienced by commenting the plt.ylim() line, and then zooming in a few times with the mouse.\r\n\r\nOS: OS X El Capitan 10.11.6\r\npython: Python 3.5.1 (default, Mar  2 2016, 03:38:02) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin\r\nmatplotlib.__version__ = 1.5.2\r\nmatplotlib.__numpy_version__ = 1.6\r\n\r\npython is from macports, matplotlib and numpy from pip install --user."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/243280993","html_url":"https://github.com/matplotlib/matplotlib/issues/7004#issuecomment-243280993","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7004","id":243280993,"user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T22:47:48Z","updated_at":"2016-08-29T22:47:48Z","body":"Closing as resolved on the currently active branches."}}
{"actor":{"display_login":"tacaswell"}}