Don't cause an exception during configuration file building if matplotlib is installed, but not Sphinx.
Merge pull request #1225 from mdboom/misc/config-without-sphinx

Generate a config file if matplotlib is installed but not Sphinx