{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6954","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6954/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6954/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6954/events","html_url":"https://github.com/matplotlib/matplotlib/issues/6954","id":171868116,"number":6954,"title":"Adding a system wide directory to place custom styles ","user":{"login":"juanrg","id":2692663,"avatar_url":"https://avatars.githubusercontent.com/u/2692663?v=3","gravatar_id":"","url":"https://api.github.com/users/juanrg","html_url":"https://github.com/juanrg","followers_url":"https://api.github.com/users/juanrg/followers","following_url":"https://api.github.com/users/juanrg/following{/other_user}","gists_url":"https://api.github.com/users/juanrg/gists{/gist_id}","starred_url":"https://api.github.com/users/juanrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanrg/subscriptions","organizations_url":"https://api.github.com/users/juanrg/orgs","repos_url":"https://api.github.com/users/juanrg/repos","events_url":"https://api.github.com/users/juanrg/events{/privacy}","received_events_url":"https://api.github.com/users/juanrg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12","html_url":"https://github.com/matplotlib/matplotlib/milestones/2.1%20(next%20point%20release)","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12/labels","id":534144,"number":12,"title":"2.1 (next point release)","description":"Next feature release.\r\n\r\nBig ticket items:\r\n\r\n - MEP 22/27\r\n - traitlets","creator":{"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},"open_issues":527,"closed_issues":464,"state":"open","created_at":"2014-01-13T03:21:09Z","updated_at":"2016-09-09T13:07:52Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-18T10:23:38Z","updated_at":"2016-09-09T15:29:52Z","closed_at":null,"body":"If you define a custom style you can [place it in your home directory](http://matplotlib.org/users/style_sheets.html) and then it will be accessible via ```plt.style.use(\"customstyle\")```. However, there doesn't seem to be a simple way of making the style available for all users in the system. I am thinking something like ```/etc/matplotlib/stylelib/```. \r\n\r\nIf this makes sense and I am not missing anything I could send a pull request."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/245947777","html_url":"https://github.com/matplotlib/matplotlib/issues/6954#issuecomment-245947777","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6954","id":245947777,"user":{"login":"juanrg","id":2692663,"avatar_url":"https://avatars.githubusercontent.com/u/2692663?v=3","gravatar_id":"","url":"https://api.github.com/users/juanrg","html_url":"https://github.com/juanrg","followers_url":"https://api.github.com/users/juanrg/followers","following_url":"https://api.github.com/users/juanrg/following{/other_user}","gists_url":"https://api.github.com/users/juanrg/gists{/gist_id}","starred_url":"https://api.github.com/users/juanrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanrg/subscriptions","organizations_url":"https://api.github.com/users/juanrg/orgs","repos_url":"https://api.github.com/users/juanrg/repos","events_url":"https://api.github.com/users/juanrg/events{/privacy}","received_events_url":"https://api.github.com/users/juanrg/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T15:29:52Z","updated_at":"2016-09-09T15:29:52Z","body":"By reviewing the code, I just realized that this feature already exists. Setting XDG_CONFIG_HOME will solve the issue above, so no need to make any pull requests... right? In that case, sorry for opening the issue :)\r\n\r\nSee [here](https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/__init__.py#L670) and [here where its called](https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/style/core.py#L33)"}}
{"actor":{"display_login":"juanrg"}}