fix file extension when extracting PDF figures
add pdf to extract output tests
add pdf output to test notebook
fix check for non-attr output keys
fixup
test select_figure_formats
remove InlineBackend.quality from whatsnew
add print_figure_kwargs to whatsnew
read InlineBackend defaults in set_matplotlib_formats
specify default bbox_inches in print_figure explicitly

to preserve legacy behavior for any direct callers
test display.set_matplotlib_formats

give set_matplotlib_close default close=True
remove redundant check for self.shell is None
generate supported formats in ValueError
set default value from dict
further tests for default values in interact


both valid and invalid
remove websocket url

websockets should follow the kernel URL

(normal behavior is unchanged, only unused configurability is removed)
undo failed changes

before raising

otherwise, invalid values were still accepted
depend on new gnureadline instead of readline on OS X

this is the same package under a different name,
to avoid the stdlib-overriding behavior that relied on easy_install's unpleasantness.
remove no-longer-necessary dirty hack for readline on OS X

just import gnureadline

(yay!)
adjust dependency check for gnureadline on OS X

- always depend when making a bdist (for consistency)
- otherwise only depend if missing (e.g. pip install -e)