From b048fd8d9a8102f479214e7b8aff85362665c88c Mon Sep 17 00:00:00 2001 From: maniarathi Date: Tue, 6 Oct 2020 12:59:07 -0700 Subject: [PATCH] Allow columns encoded in float64 to be rendered as part of continuous value histograms. (#1905) --- client/src/components/continuous/continuous.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/continuous/continuous.js b/client/src/components/continuous/continuous.js index ad5c908d..f1119507 100644 --- a/client/src/components/continuous/continuous.js +++ b/client/src/components/continuous/continuous.js @@ -14,7 +14,12 @@ class Continuous extends React.PureComponent { if (!schema) return null; const obsIndex = schema.annotations.obs.index; const allContinuousNames = schema.annotations.obs.columns - .filter((col) => col.type === "int32" || col.type === "float32") + .filter( + (col) => + col.type === "int32" || + col.type === "float32" || + col.type === "float64" + ) .filter((col) => col.name !== obsIndex) .filter((col) => !col.writable) // skip user annotations - they will be treated as categorical .map((col) => col.name);