kill scatter

This commit is contained in:
Colin Megill
2018-03-01 10:24:19 -08:00
parent abc7204244
commit e94fcfaef5
@@ -62,8 +62,6 @@ class Scatterplot extends React.Component {
this.maybeSetupScalesAndDrawAxes(nextProps); this.maybeSetupScalesAndDrawAxes(nextProps);
} }
componentDidUpdate(prevProps) { componentDidUpdate(prevProps) {
console.log('scatter sees color as', this.props.colorAccessor)
console.log('scatter sees scatter acess as', this.props.scatterplotXXaccessor, this.props.scatterplotYYaccessor)
if ( if (
(this.props.scatterplotXXaccessor && this.props.scatterplotYYaccessor) && (this.props.scatterplotXXaccessor && this.props.scatterplotYYaccessor) &&
this.props.scatterplotXXaccessor !== prevProps.scatterplotXXaccessor || // was CLU now FTH1 etc this.props.scatterplotXXaccessor !== prevProps.scatterplotXXaccessor || // was CLU now FTH1 etc