Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97b0574

Browse files
committed
DOC: move style change documentation around a bit
1 parent b314fbb commit 97b0574

File tree

3 files changed

+24
-34
lines changed

3 files changed

+24
-34
lines changed

doc/contents.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Overview
1414
.. toctree::
1515
:maxdepth: 2
1616

17-
style_changes.rst
1817
users/index.rst
1918
faq/index.rst
2019
resources/index.rst

doc/style_changes.rst

Lines changed: 0 additions & 33 deletions
This file was deleted.

doc/users/dflt_style_changes.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ default style.
88
While it is impossible to select the best default for all cases, these
99
are designed to work well in the most common cases.
1010

11+
A 'classic' style sheet will be provided so reverting to the 1.x
12+
default values will be a single line of python
13+
14+
.. code::
15+
16+
mpl.style.use('classic')
1117
1218
1319
colors, color cycles, and color maps
@@ -74,6 +80,24 @@ colors. This allows the first 10 colors in
7480
:ref:`colors` for more details.
7581

7682

83+
Colormap
84+
--------
85+
86+
87+
``matplotlib`` is changing the default colormap and styles in the
88+
upcoming 2.0 release!
89+
90+
The new default color map will be 'viridis' (aka `option
91+
D <http://bids.github.io/colormap/>`_). For an introduction to color
92+
theory and how 'viridis' was generated watch Nathaniel Smith and
93+
Stéfan van der Walt's talk from SciPy2015
94+
95+
.. raw:: html
96+
97+
<iframe width="560" height="315" src="https://www.youtube.com/embed/xAoljeRJ3lU" frameborder="0" allowfullscreen></iframe>
98+
99+
100+
77101
Other
78102
-----
79103

0 commit comments

Comments
 (0)