Revert "Allow columns encoded in float64 to be rendered as part of continuous value histograms. (#1905)" (#1925)

This reverts commit b048fd8d9a.
This commit is contained in:
maniarathi
2020-10-09 10:09:32 -07:00
committed by GitHub
parent c01a2c72b6
commit 86ff48ae36
@@ -14,12 +14,7 @@ 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" ||
col.type === "float64"
)
.filter((col) => col.type === "int32" || col.type === "float32")
.filter((col) => col.name !== obsIndex)
.filter((col) => !col.writable) // skip user annotations - they will be treated as categorical
.map((col) => col.name);