{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/875","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/875/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/875/events","html_url":"https://github.com/matplotlib/matplotlib/issues/875","id":4616667,"number":875,"title":"Replace \"jet\" as the default colormap","user":{"login":"endolith","id":58611,"avatar_url":"https://avatars.githubusercontent.com/u/58611?v=3","gravatar_id":"","url":"https://api.github.com/users/endolith","html_url":"https://github.com/endolith","followers_url":"https://api.github.com/users/endolith/followers","following_url":"https://api.github.com/users/endolith/following{/other_user}","gists_url":"https://api.github.com/users/endolith/gists{/gist_id}","starred_url":"https://api.github.com/users/endolith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endolith/subscriptions","organizations_url":"https://api.github.com/users/endolith/orgs","repos_url":"https://api.github.com/users/endolith/repos","events_url":"https://api.github.com/users/endolith/events{/privacy}","received_events_url":"https://api.github.com/users/endolith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/API%20Changes","name":"API Changes","color":"000000"},{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/default%20changes","name":"default changes","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/19","html_url":"https://github.com/matplotlib/matplotlib/milestones/Color%20overhaul","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/19/labels","id":982168,"number":19,"title":"Color overhaul","description":"v2.0.0 milestone\r\n\r\nThe v2.0 will be based on the 1.4.3 release and contain only default color changes and bug-fixes.","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":25,"closed_issues":18,"state":"open","created_at":"2015-02-17T00:47:12Z","updated_at":"2015-07-15T02:51:43Z","due_on":"2015-08-27T04:00:00Z","closed_at":null},"comments":58,"created_at":"2012-05-17T00:04:37Z","updated_at":"2015-07-15T17:41:58Z","closed_at":null,"body":"This is subjective: a matter of sane defaults vs consistency with matlab, but here are the arguments against `jet` as default:\n\n[Rainbow Color Map (Still) Considered Harmful](http://www.jwave.vt.edu/~rkriz/Projects/create_color_table/color_07.pdf):\n> Research has shown that the rainbow color map is rarely the optimal choice when displaying data with a pseudocolor map. The rainbow color map confuses viewers through its lack of perceptual ordering, obscures data through its uncontrolled luminance variation, and actively misleads interpretation through the introduction of non-data-dependent gradients.\n\n> Despite much published research on its deficiencies the rainbow color map is prevalent in the visualization community. We present survey results showing that the rainbow color map continues to appear in more than half of the relevant papers in IEEE Visualization Conference proceedings; for example, it appeared on 61 pages in 2005. **Its use is encouraged by its selection as the default color map used in most visualization toolkits** that we inspected. The visualization community must do better.\n> ...\n> In the absence of feedback about the data or task, the best approach for situations where color is the only display technique is **probably the black-body radiation spectrum**, because of its perceptual ordering and use of color to avoid contrast effects.\n\nSo this would presumably mean using one of `hot`, `afmhot`, or `gist_heat` as the default colormap:\n\n![hot, afmhot, and gist_heat](http://i.imgur.com/cMBwG.png)\n\n[How NOT to Lie with Visualization](http://www.research.ibm.com/dx/proceedings/pravda/truevis.htm):\n> This rainbow hue colormap is widely used in visualization, but produces several well-documented artifacts (e.g., Lefkowitz and Herman [1992]; Robertson [1988]; Rogowitz, Ling and Kellogg [1992]). In this MRI image, for example, the colormap creates perceived contours which do not reflect discrete transitions in the data, structures in the data which fall within one of these artificial bands are not represented, and attention is drawn to the yellow areas because they are the brightest, not because they are in any way the most important.\n\n[Let’s talk colormaps](https://abandonmatlab.wordpress.com/2011/05/07/lets-talk-colormaps/):\n> What kind of insane colormap has the property that values spanning the extreme ends of the scale stand out less, and can’t be distinguished as easily as values in the noisy middle? Why, it’s MATLAB’s default colormap, of course!\n\n[The 'jet' colormap must die!](http://cresspahl.blogspot.com/2012/03/expanded-control-of-octaves-colormap.html):\n> The main issue here is that in grayscale representation, information about the 'height' of map regions gets lost. The center of the plot (where the highest intensity is found) has the same gray value as the border regions."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/121689670","html_url":"https://github.com/matplotlib/matplotlib/issues/875#issuecomment-121689670","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/875","id":121689670,"user":{"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},"created_at":"2015-07-15T17:41:58Z","updated_at":"2015-07-15T17:41:58Z","body":"There is a discussion over names happening in a scikit-image PR thread (\nhttps://github.com/scikit-image/scikit-image/pull/1599)\n\nThere is a proposal for naming options A-C as {'ignis', 'ortus', 'fyrian'}\nin some order.\n\nCommenting here and copying the devel list so it gets some visibility.\n\n\nOn Wed, Jul 15, 2015 at 11:56 AM Nathaniel J. Smith <\nnotifications@github.com> wrote:\n\n> Yep, that's the plan.\n>\n> On Wed, Jul 15, 2015 at 3:22 AM, Werner Beroux <notifications@github.com>\n> wrote:\n>\n> > Would be nice to add also some of the alternatives on\n> > http://bids.github.io/colormap/ to matplotlib.\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/matplotlib/matplotlib/issues/875#issuecomment-121526766\n> >\n> > .\n> >\n>\n>\n>\n> --\n> Nathaniel J. Smith -- http://vorpus.org\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/matplotlib/matplotlib/issues/875#issuecomment-121660178>\n> .\n>\n"}}