{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6889","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6889/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6889/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6889/events","html_url":"https://github.com/matplotlib/matplotlib/pull/6889","id":169082035,"number":6889,"title":"support for updating axis ticks for categorical data","user":{"login":"story645","id":1300499,"avatar_url":"https://avatars.githubusercontent.com/u/1300499?v=3","gravatar_id":"","url":"https://api.github.com/users/story645","html_url":"https://github.com/story645","followers_url":"https://api.github.com/users/story645/followers","following_url":"https://api.github.com/users/story645/following{/other_user}","gists_url":"https://api.github.com/users/story645/gists{/gist_id}","starred_url":"https://api.github.com/users/story645/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/story645/subscriptions","organizations_url":"https://api.github.com/users/story645/orgs","repos_url":"https://api.github.com/users/story645/repos","events_url":"https://api.github.com/users/story645/events{/privacy}","received_events_url":"https://api.github.com/users/story645/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/categorical","name":"categorical","color":"FF0080"},{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/needs_review","name":"needs_review","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T09:01:57Z","updated_at":"2016-08-03T15:16:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/6889","html_url":"https://github.com/matplotlib/matplotlib/pull/6889","diff_url":"https://github.com/matplotlib/matplotlib/pull/6889.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/6889.patch"},"body":"Now supports updating axis:\r\n```python\r\nfig, ax = plt.subplots()\r\nax.plot(['a', 'c', 'e'], label=\"plot 1\")\r\nax.plot(['a', 'b', 'd'], label=\"plot 2\")\r\nax.plot(['b', 'e', 'd'], label=\"plot3\")\r\nax.legend()\r\n```\r\n![unknown](https://cloud.githubusercontent.com/assets/1300499/17359883/b4bbfedc-5936-11e6-8183-81613b057f39.png)\r\n\r\nWhich as a sidenote, it didn't work before because apparently FixedLocator  [converts to an array](https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/ticker.py#L1348) as soon as it's passed in (and also apparently it doesn't need to...)\r\n\r\nUnitData was also changed into an object to facilitate the updating and as a precursor to adding more functionality. And the tests should now be py.test compliant @Kojoley "},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/237268790","html_url":"https://github.com/matplotlib/matplotlib/pull/6889#issuecomment-237268790","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6889","id":237268790,"user":{"login":"story645","id":1300499,"avatar_url":"https://avatars.githubusercontent.com/u/1300499?v=3","gravatar_id":"","url":"https://api.github.com/users/story645","html_url":"https://github.com/story645","followers_url":"https://api.github.com/users/story645/followers","following_url":"https://api.github.com/users/story645/following{/other_user}","gists_url":"https://api.github.com/users/story645/gists{/gist_id}","starred_url":"https://api.github.com/users/story645/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/story645/subscriptions","organizations_url":"https://api.github.com/users/story645/orgs","repos_url":"https://api.github.com/users/story645/repos","events_url":"https://api.github.com/users/story645/events{/privacy}","received_events_url":"https://api.github.com/users/story645/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T15:16:42Z","updated_at":"2016-08-03T15:16:42Z","body":"I may have to spin this off into a PR on supporting both pytest and nosetest on appveyor/travis if I ever want my tests to pass again - help @Kojoley?"}}
{"actor":{"display_login":"story645"}}