Skip to content

Commit aedb37f

Browse files
committed
Cast linspace argument to int
1 parent ea796da commit aedb37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ternary/ternary_axes_subplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def get_ticks_from_axis_limits(self, multiple=1):
341341
self._ticks[k] = numpy.linspace(
342342
self._axis_limits[k][0],
343343
self._axis_limits[k][1],
344-
self._boundary_scale / float(multiple) + 1
344+
int(self._boundary_scale / float(multiple) + 1)
345345
).tolist()
346346

347347
def set_custom_ticks(self, locations=None, clockwise=False, multiple=1,

0 commit comments

Comments
 (0)