mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 02:38:11 +08:00
@@ -237,6 +237,7 @@ class HistogramBrush extends React.Component {
|
||||
d3.select(svgRef)
|
||||
.append("g")
|
||||
.attr("class", "brush")
|
||||
.attr("data-testid", `${svgRef.id}-brush`)
|
||||
.call(
|
||||
d3
|
||||
.brushX()
|
||||
@@ -281,6 +282,8 @@ class HistogramBrush extends React.Component {
|
||||
return (
|
||||
<div
|
||||
id={`histogram_${field}`}
|
||||
data-testid={`histogram-${field}`}
|
||||
data-testclass={isDiffExp ? `histogram-diffexp` : ""}
|
||||
style={{
|
||||
padding: globals.leftSidebarSectionPadding,
|
||||
backgroundColor: zebra ? globals.lightestGrey : "white"
|
||||
|
||||
Reference in New Issue
Block a user