{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4742","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4742/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4742/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4742/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4742","id":95859841,"number":4742,"title":"Error when adding matrix in the X-axis","user":{"login":"bestmoon","id":2327294,"avatar_url":"https://avatars.githubusercontent.com/u/2327294?v=3","gravatar_id":"","url":"https://api.github.com/users/bestmoon","html_url":"https://github.com/bestmoon","followers_url":"https://api.github.com/users/bestmoon/followers","following_url":"https://api.github.com/users/bestmoon/following{/other_user}","gists_url":"https://api.github.com/users/bestmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/bestmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestmoon/subscriptions","organizations_url":"https://api.github.com/users/bestmoon/orgs","repos_url":"https://api.github.com/users/bestmoon/repos","events_url":"https://api.github.com/users/bestmoon/events{/privacy}","received_events_url":"https://api.github.com/users/bestmoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-18T21:07:08Z","updated_at":"2015-07-19T01:11:05Z","closed_at":null,"body":"using the matplotlib 1.3.1, the error message:\r\n\r\n\tFile \"bar-chart.py\", line 68, in plot\r\n\t\tplt.tight_layout()\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/pyplot.py\", line 1255, in tight_layout\r\n\t\tfig.tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/figure.py\", line 1607, in tight_layout\r\n\t\tself.subplots_adjust(**kwargs)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/figure.py\", line 1467, in subplots_adjust\r\n\t\tself.subplotpars.update(*args, **kwargs)\r\n\t  File \"/usr/local/lib/python2.7/dist-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/figure.py\", line 217, in update\r\n\t\traise ValueError('left cannot be >= right')\r\n\tValueError: left cannot be >= right\r\n\r\n\r\nThe source code is     \r\n\r\n\tind_label = [\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right) $',\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right)$',\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right)$',\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right)$',\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right)$',\r\n\t\tr'$ \\left(\\begin{array}{ccc} a & b & c \\\\ d & e & f \\\\ g & h & i \\end{array} \\right)$'\r\n\t\t]\r\n\r\nThanks a lot for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/122609888","html_url":"https://github.com/matplotlib/matplotlib/issues/4742#issuecomment-122609888","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4742","id":122609888,"user":{"login":"efiring","id":85125,"avatar_url":"https://avatars.githubusercontent.com/u/85125?v=3","gravatar_id":"","url":"https://api.github.com/users/efiring","html_url":"https://github.com/efiring","followers_url":"https://api.github.com/users/efiring/followers","following_url":"https://api.github.com/users/efiring/following{/other_user}","gists_url":"https://api.github.com/users/efiring/gists{/gist_id}","starred_url":"https://api.github.com/users/efiring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efiring/subscriptions","organizations_url":"https://api.github.com/users/efiring/orgs","repos_url":"https://api.github.com/users/efiring/repos","events_url":"https://api.github.com/users/efiring/events{/privacy}","received_events_url":"https://api.github.com/users/efiring/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T01:11:05Z","updated_at":"2015-07-19T01:11:05Z","body":"I can't reproduce it on either 1.3.1 or on master; I get exactly your expected output, with no Exception being raised.  Maybe you have a custom matplotlibrc, and the difference is in an rcParams setting?  Does it work for you if you comment out the tight_layout call?"}}