@@ -323,7 +323,7 @@ describe('Funnelarea traces', function() {
323323 it ( 'shows title top left' , function ( done ) {
324324 Plotly . newPlot ( gd , [ {
325325 values : [ 3 , 2 , 1 ] ,
326- title : { text : 'Test<BR>Title' , position : 'top center ' , font : { size : 12 } } ,
326+ title : { text : 'Test<BR>Title' , position : 'top left ' , font : { size : 12 } } ,
327327 type : 'funnelarea' ,
328328 textinfo : 'none'
329329 } ] , { height : 300 , width : 300 } )
@@ -568,29 +568,6 @@ describe('Funnelarea traces', function() {
568568 . then ( done , done . fail ) ;
569569 } ) ;
570570
571- it ( 'should be able to restyle title despite using the deprecated attributes' , function ( done ) {
572- Plotly . newPlot ( gd , [ {
573- type : 'funnelarea' ,
574- values : [ 1 , 2 , 3 ] ,
575- title : { text : 'yo' , position : 'top left' , font : { color : 'blue' } } ,
576- } ] )
577- . then ( function ( ) {
578- _assertTitle ( 'base' , 'yo' , 'rgb(0, 0, 255)' ) ;
579- _verifyTitle ( true , false , true , false , false ) ;
580-
581- return Plotly . restyle ( gd , {
582- title : { text : 'oy' } ,
583- 'title.font.color' : 'red' ,
584- 'title.position' : 'top right'
585- } ) ;
586- } )
587- . then ( function ( ) {
588- _assertTitle ( 'base' , 'oy' , 'rgb(255, 0, 0)' ) ;
589- _verifyTitle ( false , true , true , false , false ) ;
590- } )
591- . then ( done , done . fail ) ;
592- } ) ;
593-
594571 it ( 'should be able to react with new text colors' , function ( done ) {
595572 Plotly . newPlot ( gd , [ {
596573 type : 'funnelarea' ,
0 commit comments