{"action":"created","issue":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/753","labels_url":"https://api.github.com/repos/mwaskom/seaborn/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/753/comments","events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/753/events","html_url":"https://github.com/mwaskom/seaborn/issues/753","id":115462368,"number":753,"title":"Some screwy stripplot behavior after matplotlib 1.5.0 upgrade","user":{"login":"chubukov","id":13080968,"avatar_url":"https://avatars.githubusercontent.com/u/13080968?v=3","gravatar_id":"","url":"https://api.github.com/users/chubukov","html_url":"https://github.com/chubukov","followers_url":"https://api.github.com/users/chubukov/followers","following_url":"https://api.github.com/users/chubukov/following{/other_user}","gists_url":"https://api.github.com/users/chubukov/gists{/gist_id}","starred_url":"https://api.github.com/users/chubukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubukov/subscriptions","organizations_url":"https://api.github.com/users/chubukov/orgs","repos_url":"https://api.github.com/users/chubukov/repos","events_url":"https://api.github.com/users/chubukov/events{/privacy}","received_events_url":"https://api.github.com/users/chubukov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-06T08:54:13Z","updated_at":"2015-11-17T01:57:56Z","closed_at":null,"body":"Seems like passing both `x` and `hue` to stripplot causes something strange to happen with the color cycling. Only observed after recent matplotlib upgrade. Tried both stable 0.6 and 0.7.0.dev0 version of seaborn.\r\n\r\n```\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n%matplotlib inline\r\nimport pandas as pd\r\nimport seaborn as sns\r\n\r\ndf=pd.DataFrame(columns=['x','t','y'])\r\ndf['t']=np.repeat([1,2,3,4],9)\r\ndf['x']=np.tile(['a','b','c'],12)\r\ndf['y']=np.random.normal(size=(36,1))\r\n\r\nsns.stripplot(data=df,x='t',hue='x',y='y')\r\n```\r\nproduces\r\n![image](https://cloud.githubusercontent.com/assets/13080968/10992984/27333616-8420-11e5-96a2-b04f6a087591.png)\r\n\r\nEdit after further playing around: this only seems to happen when there are exactly three points. Changing the above to \r\n\r\n```\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\n%matplotlib inline\r\nimport pandas as pd\r\nimport seaborn as sns\r\n\r\ndf=pd.DataFrame(columns=['x','t','y'])\r\ndf['t']=np.repeat([1,2,3,4],12)\r\ndf['x']=np.tile(['a','b','c'],16)\r\ndf['y']=np.random.normal(size=(48,1))\r\n\r\nsns.stripplot(data=df,x='t',hue='x',y='y')\r\n```\r\nworks fine\r\n![image](https://cloud.githubusercontent.com/assets/13080968/10993356/0c268578-8423-11e5-90c6-c7c2790ce256.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mwaskom/seaborn/issues/comments/157236390","html_url":"https://github.com/mwaskom/seaborn/issues/753#issuecomment-157236390","issue_url":"https://api.github.com/repos/mwaskom/seaborn/issues/753","id":157236390,"user":{"login":"mwaskom","id":315810,"avatar_url":"https://avatars.githubusercontent.com/u/315810?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T01:57:56Z","updated_at":"2015-11-17T01:57:56Z","body":"BTW I can confirm that the behavior described in the original issue posting does not occur on matplotlib 1.4."}}