You are reading an old version of the documentation (v1.5.1). For the latest version see https://matplotlib.org/stable/

We're updating the default styles for Matplotlib 2.0

Learn what to expect in the new updates

matplotlib

Travis-CI:

Table Of Contents

Related Topics

This Page

Default Style Changes

Colormap

matplotlib is changing the default colormap and styles in the upcoming 2.0 release!

The new default color map will be ‘viridis’ (aka option D). For an introduction to color theory and how ‘viridis’ was generated watch Nathaniel Smith and Stéfan van der Walt’s talk from SciPy2015

All four color maps will be included in matplotlib 1.5.

Everything Else

We have collected proposals to change any and all visual defaults (including adding new rcParams as needed).

Michael Droettboom and Thomas Caswell will decide on the new default styles to appear in the upcoming 2.0 release.

A ‘classic’ style sheet will be provided so reverting to the 1.x default values will be a single line of python (mpl.style.use('classic')).