You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determine the default height when the projection domain is set (#2102)
* Determine the default height when the projection domain is set
closes#2063
* Only scale if passed a width (height being always passed with width, there's no need to check both)
the case where width and height are undefined is when we are testing the projection's aspect ratio with a given domain
Note that the path in the SVG is broken (full of NaN) when projection.scale() === 0. This seems to be a secondary issue.
* adding the case where the projection is given by a {type: function, domain}
0 commit comments