Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6122516

Browse files
authored
Merge pull request plotly#6139 from plotly/squarifyratio-link
stable link for `squarifyratio`
2 parents 673facc + c859a7a commit 6122516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/traces/treemap/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646
dflt: 1,
4747
editType: 'plot',
4848
description: [
49-
'When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio',
49+
'When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio',
5050
'this option specifies the desired aspect ratio of the generated rectangles.',
5151
'The ratio must be specified as a number greater than or equal to one.',
5252
'Note that the orientation of the generated rectangles (tall or wide)',

test/plot-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68075,7 +68075,7 @@
6807568075
},
6807668076
"role": "object",
6807768077
"squarifyratio": {
68078-
"description": "When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts.",
68078+
"description": "When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts.",
6807968079
"dflt": 1,
6808068080
"editType": "plot",
6808168081
"min": 1,

0 commit comments

Comments
 (0)