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

Skip to content

Commit d6bab9c

Browse files
authored
Merge pull request #7567 from tacaswell/doc_change_banner
Doc change banner
2 parents b083cf6 + 5e4fd75 commit d6bab9c

File tree

3 files changed

+36
-25
lines changed

3 files changed

+36
-25
lines changed

doc/_templates/layout.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ <h3>{{ _('Navigation') }}</h3>
159159
<body>
160160
<div class="alert" style="background-color: #FEA46C; padding: 10px 0;
161161
">
162-
<h3>We're updating the default styles for Matplotlib 2.0</h3>
162+
<h3>Matplotlib 2.0.0rc1 is available</h3>
163163

164-
<p>Learn what to expect in the <a href="{{ pathto('style_changes.html', 1) }}"
164+
<p><a href="{{ pathto('style_changes.html', 1) }}"
165165
style="font-weight: bold;
166-
color: #11557C;">new updates</a></p>
166+
color: #11557C;">Install the release candidate now!</a></p>
167167

168168
</div>
169169
{%- block header %}{% endblock %}

doc/contents.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Overview
88
:Release: |version|
99
:Date: |today|
1010

11+
Download `PDF <Matplotlib.pdf>`_
12+
1113

1214
.. toctree::
1315
:maxdepth: 2

doc/style_changes.rst

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,42 @@
1-
Default Style Changes
2-
=====================
1+
Matplotlib v2.0
2+
===============
33

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.
67

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>`_.
911

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>`_
1414

15-
.. raw:: html
15+
You can install pre-releases via ::
1616

17-
<iframe width="560" height="315" src="https://www.youtube.com/embed/xAoljeRJ3lU" frameborder="0" allowfullscreen></iframe>
17+
pip install --pre matplotlib
1818

19-
All four color maps will be included in matplotlib 1.5.
19+
which has source + wheels for Mac, Win, and manylinux or
2020

21+
using ::
2122

22-
Everything Else
23-
---------------
23+
conda install -c conda-forge/label/rc -c conda-forge matplotlib
2424

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 ::
2729

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
3033

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

Comments
 (0)