{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6265","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6265/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6265/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6265/events","html_url":"https://github.com/matplotlib/matplotlib/issues/6265","id":145462931,"number":6265,"title":"Document how to set viridis as default colormap in mpl 1.x","user":{"login":"janschulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/janschulz","html_url":"https://github.com/janschulz","followers_url":"https://api.github.com/users/janschulz/followers","following_url":"https://api.github.com/users/janschulz/following{/other_user}","gists_url":"https://api.github.com/users/janschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/janschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janschulz/subscriptions","organizations_url":"https://api.github.com/users/janschulz/orgs","repos_url":"https://api.github.com/users/janschulz/repos","events_url":"https://api.github.com/users/janschulz/events{/privacy}","received_events_url":"https://api.github.com/users/janschulz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-03T07:01:00Z","updated_at":"2016-04-03T16:26:05Z","closed_at":"2016-04-03T12:58:45Z","body":"I've now tried to google `how to set viridis default matplotlib` and none of the first 20 pages contain any information how to set this as the default colormap (e.g. in a notebook session). It also looks like there is no \"mpl20\" style available and the docs only talk about \"use default and you get it in the future\".\r\n\r\nThe second page in my google results contain a stackoverflow post which does not work:\r\n\r\n```python\r\nimport colormaps as cmaps\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-52-2b4a939ab51e> in <module>()\r\n----> 1 import colormaps as cmaps\r\n\r\nImportError: No module named 'colormaps'\r\n``` \r\n\r\n[conda env with py3.5 and latest available mpl from today]\r\n\r\nPlease add this information now so that google at least contains something useful and not only \"in the future\" talk when the map is available now."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/205006937","html_url":"https://github.com/matplotlib/matplotlib/issues/6265#issuecomment-205006937","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6265","id":205006937,"user":{"login":"janschulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/janschulz","html_url":"https://github.com/janschulz","followers_url":"https://api.github.com/users/janschulz/followers","following_url":"https://api.github.com/users/janschulz/following{/other_user}","gists_url":"https://api.github.com/users/janschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/janschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janschulz/subscriptions","organizations_url":"https://api.github.com/users/janschulz/orgs","repos_url":"https://api.github.com/users/janschulz/repos","events_url":"https://api.github.com/users/janschulz/events{/privacy}","received_events_url":"https://api.github.com/users/janschulz/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T16:26:05Z","updated_at":"2016-04-03T16:26:05Z","body":"Thanks! IMO this inforation should be included in http://matplotlib.org/style_changes.html and https://bids.github.io/colormap/ (the two higest results for \"viridis default colormap\". The third is funnily a link to the R version, which includes an example how to use it.)."}}