Added missing implementation of get_window_extent for AxisImage and test (fixes #2980).
Reduce linewidth for PEP-8 compliance.
Split long line.
Merge pull request #3861 from maxalbert/fix_get_window_extent

Added missing implementation of get_window_extent for AxisImage and test (fixes #2980).