@@ -1643,7 +1643,7 @@ describe('Plotly.react and uirevision attributes', function() {
16431643 function editEditable ( ) {
16441644 return Registry . call ( '_guiUpdate' , gd ,
16451645 { '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 } ,
16471647 [ 2 ]
16481648 ) ;
16491649 }
@@ -1653,7 +1653,7 @@ describe('Plotly.react and uirevision attributes', function() {
16531653 'colorbar.x' : original ? [ undefined , 1.02 ] : 0.8 ,
16541654 'colorbar.y' : original ? [ undefined , 0.5 ] : 0.6
16551655 } ] , {
1656- title : original ? [ undefined , 'Click to enter Plot title' ] : 'yep' ,
1656+ ' title.text' : original ? [ undefined , 'Click to enter Plot title' ] : 'yep' ,
16571657 'legend.x' : original ? [ undefined , 1.02 ] : 1.1 ,
16581658 'legend.y' : original ? [ undefined , 1 ] : 0.9
16591659 } ) ;
@@ -1688,7 +1688,7 @@ describe('Plotly.react and uirevision attributes', function() {
16881688 return {
16891689 'dimensions[0].constraintrange' : original ? [ [ 2.5 , 3.5 ] ] : [ [ [ 1.5 , 2.5 ] , [ 2.938 , 3.979 ] ] ] ,
16901690 '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' ,
16921692 name : original ? [ undefined , 'trace 0' ] : 'name'
16931693 } ;
16941694 }
@@ -1700,7 +1700,7 @@ describe('Plotly.react and uirevision attributes', function() {
17001700 function editTrace ( ) {
17011701 var _ ;
17021702 return Registry . call ( '_guiRestyle' , gd ,
1703- { 'line.colorbar.title' : 'color' , name : 'name' } ,
1703+ { 'line.colorbar.title.text ' : 'color' , name : 'name' } ,
17041704 [ 0 ]
17051705 )
17061706 . then ( function ( ) {
@@ -1742,12 +1742,12 @@ describe('Plotly.react and uirevision attributes', function() {
17421742
17431743 function attrs ( original ) {
17441744 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'
17511751 } ;
17521752 }
17531753
0 commit comments