🎨Making figures

General

Herearrow-up-right is a great presentation by Dan Larremore on how to present data clearly.

Color palettes

You should select the color palette for your figures carefully, with a priority towards making the key pieces of science that you're trying to communicate as clear as possible. Be especially wary of common forms of colorblindnessarrow-up-right, and giving some thought to how readable figures are in greyscale. There are tools for simulating different types of colorblindnessarrow-up-right.

When using a continuous color scale, avoiding the colormap jetarrow-up-right will prevent incurring the wrath of passionate jet fightersarrow-up-right, who will direct you to automatically 'fix'arrow-up-right your colormap.

Plotting distributions

For data exploration, you should always avoid plots that make assumptions about the distribution of values (like those that plot the mean plus/minus standard deviation). Alternatives include violin plots:

Last updated