We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a0ca6 commit ef0446fCopy full SHA for ef0446f
proplot/axes/geo.py
@@ -221,6 +221,8 @@ def _get_extent(self):
221
def _pad_ticks(ticks, vmin, vmax):
222
# Wrap up to the longitude/latitude range to avoid
223
# giant lists of 10,000 gridline locations.
224
+ if len(ticks) == 0:
225
+ return ticks
226
range_ = max(ticks) - min(ticks)
227
vmin = max(vmin, ticks[0] - range_)
228
vmax = min(vmax, ticks[-1] + range_)
0 commit comments