{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6041","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6041/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6041/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6041/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6041","id":122322428,"number":6041,"title":"Fix in plot_out_of_core_classification.py","user":{"login":"dsquareindia","id":9411999,"avatar_url":"https://avatars.githubusercontent.com/u/9411999?v=3","gravatar_id":"","url":"https://api.github.com/users/dsquareindia","html_url":"https://github.com/dsquareindia","followers_url":"https://api.github.com/users/dsquareindia/followers","following_url":"https://api.github.com/users/dsquareindia/following{/other_user}","gists_url":"https://api.github.com/users/dsquareindia/gists{/gist_id}","starred_url":"https://api.github.com/users/dsquareindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsquareindia/subscriptions","organizations_url":"https://api.github.com/users/dsquareindia/orgs","repos_url":"https://api.github.com/users/dsquareindia/repos","events_url":"https://api.github.com/users/dsquareindia/events{/privacy}","received_events_url":"https://api.github.com/users/dsquareindia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T17:20:35Z","updated_at":"2015-12-15T18:33:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6041","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6041","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/6041.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/6041.patch"},"body":"Just added conditions to check which one to use from `color_cycle` or `prop_cycle` depending on matplotlib version. Fix for #6016 "},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/164849943","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6041#issuecomment-164849943","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6041","id":164849943,"user":{"login":"dsquareindia","id":9411999,"avatar_url":"https://avatars.githubusercontent.com/u/9411999?v=3","gravatar_id":"","url":"https://api.github.com/users/dsquareindia","html_url":"https://github.com/dsquareindia","followers_url":"https://api.github.com/users/dsquareindia/followers","following_url":"https://api.github.com/users/dsquareindia/following{/other_user}","gists_url":"https://api.github.com/users/dsquareindia/gists{/gist_id}","starred_url":"https://api.github.com/users/dsquareindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsquareindia/subscriptions","organizations_url":"https://api.github.com/users/dsquareindia/orgs","repos_url":"https://api.github.com/users/dsquareindia/repos","events_url":"https://api.github.com/users/dsquareindia/events{/privacy}","received_events_url":"https://api.github.com/users/dsquareindia/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T18:33:22Z","updated_at":"2015-12-15T18:33:22Z","body":"Hey @lesteve thanks a lot for the input! Just had a few doubts. I think we can't use the latter approach to make `bar_colors` a list because the former approach returns a Cycler (not a list). Plus we need to dynamically cycle through a certain number of colors depending on the length and not all of them always. What do you think?"}}