Skip to content

Commit

Permalink
Decrease threshold for AzimuthalEquidistant.
Browse files Browse the repository at this point in the history
Using the example from #1572 shows that the lines are jagged and the
threshold is too high.
  • Loading branch information
QuLogic committed Aug 6, 2020
1 parent 336c09f commit 82f9a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2329,7 +2329,7 @@ def __init__(self, central_longitude=0.0, central_latitude=0.0,
maxs = np.max(coords, axis=1)
self._x_limits = mins[0], maxs[0]
self._y_limits = mins[1], maxs[1]
self._threshold = min(a, b) / 63.78137 # About 1e5 for defaults.
self._threshold = min(a, b) * 1.5e-3 # Approximately 1e4 for defaults.

@property
def boundary(self):
Expand Down

0 comments on commit 82f9a8d

Please sign in to comment.