|
1 |
| -Default Style Changes |
2 |
| -===================== |
| 1 | +Matplotlib v2.0 |
| 2 | +=============== |
3 | 3 |
|
4 |
| -Colormap |
5 |
| --------- |
| 4 | +Changing the default colors and style of matplotlib has proven to be a |
| 5 | +much larger task than initially thought, but we are finally |
| 6 | +approaching the release. |
6 | 7 |
|
7 |
| -``matplotlib`` is changing the default colormap and styles in the |
8 |
| -upcoming 2.0 release! |
| 8 | +For the full details of what has been changed see a `draft of the |
| 9 | +release notes |
| 10 | +<http://matplotlib.org/2.0.0rc1/users/dflt_style_changes.html>`_. |
9 | 11 |
|
10 |
| -The new default color map will be 'viridis' (aka `option |
11 |
| -D <http://bids.github.io/colormap/>`_). For an introduction to color |
12 |
| -theory and how 'viridis' was generated watch Nathaniel Smith and |
13 |
| -Stéfan van der Walt's talk from SciPy2015 |
| 12 | +The current pre-release is |
| 13 | +`v2.0.0rc1 <https://github.com/matplotlib/matplotlib/releases/tag/v2.0.0rc1>`_ |
14 | 14 |
|
15 |
| -.. raw:: html |
| 15 | +You can install pre-releases via :: |
16 | 16 |
|
17 |
| - <iframe width="560" height="315" src="https://www.youtube.com/embed/xAoljeRJ3lU" frameborder="0" allowfullscreen></iframe> |
| 17 | + pip install --pre matplotlib |
18 | 18 |
|
19 |
| -All four color maps will be included in matplotlib 1.5. |
| 19 | +which has source + wheels for Mac, Win, and manylinux or |
20 | 20 |
|
| 21 | +using :: |
21 | 22 |
|
22 |
| -Everything Else |
23 |
| ---------------- |
| 23 | + conda install -c conda-forge/label/rc -c conda-forge matplotlib |
24 | 24 |
|
25 |
| -We have collected proposals to change any and all visual defaults |
26 |
| -(including adding new rcParams as needed). |
| 25 | +which has binaries for Mac, Win, and linux. You can also install from |
| 26 | +`source |
| 27 | +<http://matplotlib.org/users/installing.html#installing-from-source>` from |
| 28 | +git :: |
27 | 29 |
|
28 |
| -Michael Droettboom and Thomas Caswell will decide on the new default |
29 |
| -styles to appear in the upcoming 2.0 release. |
| 30 | + git clone https://github.com/matplotlib/matplotlib.git |
| 31 | + cd matplotlib |
| 32 | + git checkout v2.0.0rc1 |
30 | 33 |
|
31 |
| -A 'classic' style sheet will be provided so reverting to the 1.x |
32 |
| -default values will be a single line of python |
33 |
| -(`mpl.style.use('classic')`). |
| 34 | +or tarball :: |
| 35 | + |
| 36 | + wget https://github.com/matplotlib/matplotlib/archive/v2.0.0rc1.tar.gz -O matplotlib-v2.0.0rc1.tar.gz |
| 37 | + tar -xzvf matplotlib-v2.0.0rc1.tar.gz |
| 38 | + cd matplotlib-v2.0.0rc1 |
| 39 | + |
| 40 | +via :: |
| 41 | + |
| 42 | + pip install -v . |
0 commit comments