Skip to content
Snippets Groups Projects
Commit 308a0332 authored by Martin Schrön's avatar Martin Schrön
Browse files

Fixed ticks outside of extent in guess_ticks

parent a3e64dc6
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ def guess_ticks_from_lim(a, b, steps=None):
x_1 = round(float(a)/round_digit)*round_digit
x_2 = round(float(b)/round_digit)*round_digit
A = np.arange(x_1, x_2, round_digit)
A[(A>=a) & (A<=b)]
A = A[(A>=a) & (A<=b)]
return A
def add_latlon_ticks(ax, steps=0.01, grid=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment