diff --git a/.travis.yml b/.travis.yml
index 6539edac2fe1..6435c9d5c326 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,6 @@
language: python
-dist: trusty
+dist: xenial
sudo: false
branches:
@@ -87,6 +87,8 @@ matrix:
env: PYTHON_ARGS=-OO
- python: 3.6
env: DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8
+ - python: 3.7
+ sudo: true
- python: "nightly"
env: PRE=--pre
- os: osx
diff --git a/doc/devel/testing.rst b/doc/devel/testing.rst
index aafa5bd0b859..8334a132a74a 100644
--- a/doc/devel/testing.rst
+++ b/doc/devel/testing.rst
@@ -264,10 +264,10 @@ Using tox
`Tox `_ is a tool for running
tests against
multiple Python environments, including multiple versions of Python
-(e.g., 2.7, 3.4, 3.5) and even different Python implementations
+(e.g., 2.7, 3.5, 3.6) and even different Python implementations
altogether (e.g., CPython, PyPy, Jython, etc.)
-Testing all versions of Python (2.6, 2.7, 3.*) requires
+Testing all versions of Python (2.7, 3.6, 3.7, ...) requires
having multiple versions of Python installed on your system and on the
PATH. Depending on your operating system, you may want to use your
package manager (such as apt-get, yum or MacPorts) to do this.
@@ -284,7 +284,7 @@ You can also run tox on a subset of environments:
.. code-block:: bash
- $ tox -e py26,py27
+ $ tox -e py27,py36,py37
Tox processes everything serially so it can take a long time to test
several environments. To speed it up, you might try using a new,
diff --git a/lib/matplotlib/tests/baseline_images/test_axes/contour_colorbar.svg b/lib/matplotlib/tests/baseline_images/test_axes/contour_colorbar.svg
index def44e917861..0a39e4cf487b 100644
--- a/lib/matplotlib/tests/baseline_images/test_axes/contour_colorbar.svg
+++ b/lib/matplotlib/tests/baseline_images/test_axes/contour_colorbar.svg
@@ -17790,7 +17790,7 @@ Q 31.109375 20.453125 19.1875 8.296875
z
" id="DejaVuSans-32"/>
-
+
@@ -17824,7 +17824,7 @@ L 12.40625 0
z
" id="DejaVuSans-31"/>
-
+
diff --git a/lib/matplotlib/tests/baseline_images/test_tightlayout/tight_layout4.svg b/lib/matplotlib/tests/baseline_images/test_tightlayout/tight_layout4.svg
index e19b6b53d590..de5e5efd5a1a 100644
--- a/lib/matplotlib/tests/baseline_images/test_tightlayout/tight_layout4.svg
+++ b/lib/matplotlib/tests/baseline_images/test_tightlayout/tight_layout4.svg
@@ -1,7 +1,7 @@
-
+