BUG : fixes broadcast errors with np 1.9

 fixes some of the issues raised in #3186
BUG : fix the rest of the errors from np 1.9

 Addresses the remaining errors from #3186
Fix plot directive when used with multiple options.

The existing template produces newlines between options, which were
confusing the reST parser. By fiddling with whitespace control, the
template can be made to put things together correctly.
BUG: improved fix for np 1.9 errors
Merge pull request #5 from ianthomas23/np_error_patch

BUG: improved fix for np 1.9 errors
Test PEP8 stuff in separate Travis build.
Don't change existing test set.
Fix matrix
Fix typo.
Fix travis.yaml
Merge pull request #3188 from tacaswell/np_error_patch

Np error patch
Fix auto-closing in PolyCollection
Merge pull request #3236 from mdboom/pep8-tests-in-separate-config

Test PEP8 stuff in separate Travis build.
Merge pull request #3193 from QuLogic/multi-option-plot_directive

Fix plot directive when used with multiple options.
Add test png
Merge pull request #3239 from mdboom/polycollection-closed

Fix auto-closing in PolyCollection
Make sure that number of lines is an int by casting
This should be an integer
Cast to int in test
Cast to int