A Better Default Colormap for Matplotlib | SciPy 2015 | Nathaniel Smith and Stéfan van der Walt

Channel:Enthought · Length:19:08 · Published:2015-07-08 · Views:177867

Watch on YouTube

Summary

SciPy 2015 talk by Nathaniel Smith and Stefan van der Walt on choosing a new default colormap for Matplotlib. It covers why Jet misleads, how perceptual color spaces work, and how viridis was designed.

Why HN recommends it

HN's go-to recommendation for colormap and color-perception questions; commenters call it funny, brief, clear and a favorite talk.

This hilarious SciPy2015 talk[1] convinced me to switch to the Parula color scheme. — HN, 2018

Data science & statistics · Data visualization & information design

Subtitles (excerpt)

I'm Nathaniel. This is Stefan. I'll be doing the talking. He's here to look pretty. So, uh, and yeah, we're going to tell you about how we design a new default color map for Map Pot Lib, which we hope they will pick up and how you can too. Um, so, um, color maps, color maps are great because if you have data, you just look at it and it doesn't make any sense. It's just a bunch of I'm sorry, you're not here. Okay. Color maps are great because data doesn't make any sense when you just look at it. But if you take each of those values, map them to some corresponding color, and suddenly you can see the structure that's in your data. Color maps are there. You need color maps because they're an interface between your data and your brain, basically, right? But not all color maps are created equal. Um, for instance, this is everyone's favorite color map they love to hate, Jet. Um, it's famous for how it distorts your data. I won't go into all the long literature about this, but uh, one study I particularly like or if that's the word um, is these people did um, some user studies on a tool for uh, diagnosing uh, heart disease by looking at imaging of cells. So these are doctors looking at patient data.

On Hacker News

I'm impressed by the other mentioned picker, for HCL this time [LINK] This tool is also useful [LINK] I have to mention this fantastic presentation on colormaps [VIDEO] (A Better Default Colormap for Matplotlib, SciPy 2015, Nathaniel Smith and Stéfan van der Walt). It is about perceptually uniform colormaps. [LINK] — azepoi, 2020-06
I built similar perceptually uniform color library: [LINK] The sad part is that we have all these colors available in the physical world but representing in sRGB (or even Adobe RGB or DCI P3) space takes away all the fun. We have a narrow space to work within and it poses limits to what you can do. Vast majority of monitors in the world are barely capable of representing sRGB space, and even if t… — neilpanchal, 2019-10
If you have any interest in this topic, I’d strongly recommend watching this presentation at SciPy 2015 where Viridis and Inferno were first presented, when the developers of Matplotlib were coming up with a new default colormap to replace Jet: [VIDEO] I'd love to see Turbo analyzed in the same fashion. — kbd, 2019-08
> Today we are happy to introduce Turbo, a new colormap that has the desirable properties of Jet while also addressing some of its shortcomings, such as false detail, banding and color blindness ambiguity. What are the desirable properties of Jet? Why not use Viridis or Magma or any of the recent linear colormaps from matplotlib 2.0? These shortcomings were the exact reason why Viridis was create… — spectramax, 2019-08
Grrr, why aren't scientists all using perceptually uniforms color schemes! This would still look awesome in `plasma`. Is there any where I can get the data and do it myself? One of my favorite talks ever is on this subject: [VIDEO] — Mizza, 2019-04

Related videos