Skip to content

Commit bf84a8f

Browse files
Fix Travis 2.0
Summary: Missed another place where we had a float num contours . Reviewed By: ldworkin Differential Revision: D17052058 fbshipit-source-id: b446ae8af5b5767621e0d25ef80390cc17dfa93a
1 parent dd48772 commit bf84a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ax/plot/helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def contour_config_to_trace(config):
480480
"autocontour": True,
481481
"contours": {"coloring": "heatmap"},
482482
"hoverinfo": "x+y+z",
483-
"ncontours": density / 2,
483+
"ncontours": int(density / 2),
484484
"type": "contour",
485485
"x": grid_x,
486486
"y": grid_y,

0 commit comments

Comments
 (0)