API: accept -1 for layout
Merge pull request #8297 from TomAugspurger/neg-layout

API: accept -1 for layout in plot functions