Fix dpi detection in tight_bbox (fixes #2586).
backend_pgf: use the bounding box as clip rectangle (fixes #2586)
Allow closing a figure by long ID number.

Creating a figure with a type(long) figure number is allowed, so closing should be similarly allowed.

close figure with type UUID as figure number

if we can create a figure with a number that is type UUID,
then it is reasonable to be able to close the figure with it as well.

make the allowed int types Python 2 and 3 compatible
Merge pull request #2683 from JamesMakela/close_long_fig_num

Close a figure with a type long or uuid figure number
added try-catch block to test_animation to deal with strange
import errors coming out of numpy.  See issue #1891.
added libav-tools to the packages installed so that more of the
animation smoke tests will run.
Disable offset box clipping by default.
Merge pull request #2504 from ianthomas23/qhull_delaunay

Using qhull for Delaunay triangulation
Merge pull request #2679 from tacaswell/fix_animation_tests

Make `test_save_animation_smoketest` actually run
Use mpl.checkdep_ghostscript function to find ghostscript
Fix Tk keyboard modifier masks on Windows
Merge pull request #2693 from cgohlke/patch-1

Use mpl.checkdep_ghostscript function to find ghostscript
Merge remote-tracking branch 'upstream/v1.3.x'

Conflicts:
	lib/matplotlib/tests/test_colors.py
Consistent grid sizes in streamplot. Closes #2653.
Merge pull request #2689 from pelson/offset_box_clipping_off

Disable offset box clipping by default.
Merge pull request #2700 from ajdawson/streamplot-consistency

Consistent grid sizes in streamplot.
Fix FancyBboxPatch Typo
don't hard-code class name in representation
Updating regex used to split sphinx version string.

The latest stable sphinx version string is '1.2+'.
The regex pattern '[a-z]' fails to match the '+' character
leading to a `ValueError` being raised when it attempts to
cast '2+' to an int. Replacing '[a-z]' with '[^0-9]' resolves this.
Bugfix for issue #1747. Allows removal of figure text artists.