From bf84a8f412e076d4e85b13129e41c9b4e53886b8 Mon Sep 17 00:00:00 2001 From: Lena Kashtelyan Date: Mon, 26 Aug 2019 09:40:25 -0700 Subject: [PATCH] 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 --- ax/plot/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ax/plot/helper.py b/ax/plot/helper.py index 7944c4fd26e..cc0857ea87a 100644 --- a/ax/plot/helper.py +++ b/ax/plot/helper.py @@ -480,7 +480,7 @@ def contour_config_to_trace(config): "autocontour": True, "contours": {"coloring": "heatmap"}, "hoverinfo": "x+y+z", - "ncontours": density / 2, + "ncontours": int(density / 2), "type": "contour", "x": grid_x, "y": grid_y,