Skip to content

autoscale axes when map_extent is None

Philipp S. Sommer requested to merge github/fork/Chilipp/master into master

This commit changes the behavious of the None value for the map_extent formatoption. Now, map_extent=None triggers a call of the plotter.ax.autoscale method, whereas the old behaviour was to use the lonlatbox of the lonlatbox formatoption. This causes problems for regional files close to the map-boundary (see https://github.com/psyplot/psy-maps/issues/11).

The old behaviour can be retained by setting map_extent='data'

Closes #11 (closed)

  • Tests added (for all bug fixes or enhancements)
  • Tests passed (for all non-documentation changes)
  • Fully documented, including CHANGELOG.rst for all changes

Merge request reports

Loading