@@ -1643,7 +1643,7 @@ describe('Plotly.react and uirevision attributes', function() {
1643
1643
function editEditable ( ) {
1644
1644
return Registry . call ( '_guiUpdate' , gd ,
1645
1645
{ 'colorbar.x' : 0.8 , 'colorbar.y' : 0.6 } ,
1646
- { title : 'yep' , 'legend.x' : 1.1 , 'legend.y' : 0.9 } ,
1646
+ { ' title.text' : 'yep' , 'legend.x' : 1.1 , 'legend.y' : 0.9 } ,
1647
1647
[ 2 ]
1648
1648
) ;
1649
1649
}
@@ -1653,7 +1653,7 @@ describe('Plotly.react and uirevision attributes', function() {
1653
1653
'colorbar.x' : original ? [ undefined , 1.02 ] : 0.8 ,
1654
1654
'colorbar.y' : original ? [ undefined , 0.5 ] : 0.6
1655
1655
} ] , {
1656
- title : original ? [ undefined , 'Click to enter Plot title' ] : 'yep' ,
1656
+ ' title.text' : original ? [ undefined , 'Click to enter Plot title' ] : 'yep' ,
1657
1657
'legend.x' : original ? [ undefined , 1.02 ] : 1.1 ,
1658
1658
'legend.y' : original ? [ undefined , 1 ] : 0.9
1659
1659
} ) ;
@@ -1688,7 +1688,7 @@ describe('Plotly.react and uirevision attributes', function() {
1688
1688
return {
1689
1689
'dimensions[0].constraintrange' : original ? [ [ 2.5 , 3.5 ] ] : [ [ [ 1.5 , 2.5 ] , [ 2.938 , 3.979 ] ] ] ,
1690
1690
'dimensions[1].constraintrange' : original ? undefined : [ [ 6.937 , 7.979 ] ] ,
1691
- 'line.colorbar.title' : original ? [ undefined , 'Click to enter Colorscale title' ] : 'color' ,
1691
+ 'line.colorbar.title.text ' : original ? [ undefined , 'Click to enter Colorscale title' ] : 'color' ,
1692
1692
name : original ? [ undefined , 'trace 0' ] : 'name'
1693
1693
} ;
1694
1694
}
@@ -1700,7 +1700,7 @@ describe('Plotly.react and uirevision attributes', function() {
1700
1700
function editTrace ( ) {
1701
1701
var _ ;
1702
1702
return Registry . call ( '_guiRestyle' , gd ,
1703
- { 'line.colorbar.title' : 'color' , name : 'name' } ,
1703
+ { 'line.colorbar.title.text ' : 'color' , name : 'name' } ,
1704
1704
[ 0 ]
1705
1705
)
1706
1706
. then ( function ( ) {
@@ -1742,12 +1742,12 @@ describe('Plotly.react and uirevision attributes', function() {
1742
1742
1743
1743
function attrs ( original ) {
1744
1744
return {
1745
- 'xaxis.title' : original ? [ undefined , 'Click to enter X axis title' ] : 'XXX' ,
1746
- 'yaxis.title' : original ? [ undefined , 'Click to enter Y axis title' ] : 'YYY' ,
1747
- 'ternary.aaxis.title' : original ? [ undefined , 'Component A' ] : 'AAA' ,
1748
- 'ternary.baxis.title' : original ? [ undefined , 'Component B' ] : 'BBB' ,
1749
- 'ternary.caxis.title' : original ? [ undefined , 'Component C' ] : 'CCC' ,
1750
- 'polar.radialaxis.title' : original ? [ undefined , '' ] : 'RRR'
1745
+ 'xaxis.title.text ' : original ? [ undefined , 'Click to enter X axis title' ] : 'XXX' ,
1746
+ 'yaxis.title.text ' : original ? [ undefined , 'Click to enter Y axis title' ] : 'YYY' ,
1747
+ 'ternary.aaxis.title.text ' : original ? [ undefined , 'Component A' ] : 'AAA' ,
1748
+ 'ternary.baxis.title.text ' : original ? [ undefined , 'Component B' ] : 'BBB' ,
1749
+ 'ternary.caxis.title.text ' : original ? [ undefined , 'Component C' ] : 'CCC' ,
1750
+ 'polar.radialaxis.title.text ' : original ? [ undefined , '' ] : 'RRR'
1751
1751
} ;
1752
1752
}
1753
1753
0 commit comments