diff --git a/smithplot/smithaxes.py b/smithplot/smithaxes.py index 2ed8cbb..281b28f 100644 --- a/smithplot/smithaxes.py +++ b/smithplot/smithaxes.py @@ -1005,7 +1005,7 @@ def draw_nonfancy(grid): len_x, len_y = len(xticks) - 1, len(yticks) - 1 # 2. Step: calculate optimal gridspacing for each quadrant - d_mat = np.ones((len_x, len_y, 2)) + d_mat = np.ones((len_x, len_y, 2), dtype=np.int) # TODO: optimize spacing algorithm for i in range(len_x):