in bindings/jupyter-modules/jupyter-ma-causal/src/components/slidebar/index.js [66:85]
_renderLeftLabel() {
if (!this.props.renderLeftLabel) {
return null;
}
const {
extent: [[, y0], [, y1]],
leftLabel,
} = this.props;
const x = this._getX();
return (
<text
x={x - 3}
y={(y0 + y1) / 2}
textAnchor="end"
dominantBaseline="middle"
>
{leftLabel || d3Format('.2s')(x)}
</text>
);
}