Closed spencer516 closed 8 years ago
The copy
creates a duplicate of the scale. Part of the reason you were seeing that weird behavior is because d3-axis
copies the scale before using it — and, because the guid-domain-scale
here didn't implement it's own copy, copy would return a standard d3 scale, not an instance of the guid-domain-scale
.
@spencer516 thanks, we tried this, it fixes our problem!
Can you please pull this in :)
Yes!
What does this copy do?