@@ -1975,7 +1975,7 @@ describe('sunburst inside text orientation', function() {
1975
1975
return Plotly . react ( gd , fig ) ;
1976
1976
} )
1977
1977
. then ( assertTextRotations ( 'using "tangential"' , {
1978
- rotations : [ 0 , 0 , - 42 , - 78 ]
1978
+ rotations : [ 0 , 30 , - 42 , - 78 ]
1979
1979
} ) )
1980
1980
. then ( function ( ) {
1981
1981
fig . data [ 0 ] . insidetextorientation = 'auto' ;
@@ -2060,15 +2060,15 @@ describe('sunburst uniformtext', function() {
2060
2060
Plotly . plot ( gd , fig )
2061
2061
. then ( assertTextSizes ( 'without uniformtext' , {
2062
2062
fontsizes : [ 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 ] ,
2063
- scales : [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0.58 ] ,
2063
+ scales : [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0.52 ] ,
2064
2064
} ) )
2065
2065
. then ( function ( ) {
2066
2066
fig . layout . uniformtext = { mode : 'hide' } ; // default with minsize=0
2067
2067
return Plotly . react ( gd , fig ) ;
2068
2068
} )
2069
2069
. then ( assertTextSizes ( 'using mode: "hide"' , {
2070
2070
fontsizes : [ 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 ] ,
2071
- scales : [ 0.58 , 0.58 , 0.58 , 0.58 , 0.58 , 0.58 , 0.58 , 0.58 , 0.58 , 0.58 ] ,
2071
+ scales : [ 0.52 , 0.52 , 0.52 , 0.52 , 0.52 , 0.52 , 0.52 , 0.52 , 0.52 , 0.52 ] ,
2072
2072
} ) )
2073
2073
. then ( function ( ) {
2074
2074
fig . layout . uniformtext . minsize = 9 ; // set a minsize less than trace font size
@@ -2108,7 +2108,7 @@ describe('sunburst uniformtext', function() {
2108
2108
} )
2109
2109
. then ( assertTextSizes ( 'clear uniformtext' , {
2110
2110
fontsizes : [ 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 , 12 ] ,
2111
- scales : [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0.58 ] ,
2111
+ scales : [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0.52 ] ,
2112
2112
} ) )
2113
2113
. catch ( failTest )
2114
2114
. then ( done ) ;
0 commit comments