mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 08:18:11 +08:00
kill scatter
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user