File tree 2 files changed +2
-4
lines changed
components/fields/__tests__ 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('<AnnotationRef>', () => {
28
28
expect ( options . length ) . toBe ( 3 ) ;
29
29
expect ( options [ 0 ] ) . toEqual ( { label : 'Canvas' , value : 'paper' } ) ;
30
30
expect ( options [ 1 ] ) . toEqual ( { label : 'Y' , value : 'y' } ) ;
31
- expect ( options [ 2 ] ) . toEqual ( { label : 'yaxis2 title' , value : 'y2' } ) ;
31
+ expect ( options [ 2 ] ) . toEqual ( { label : 'Y Axis: yaxis2 title' , value : 'y2' } ) ;
32
32
} ) ;
33
33
34
34
it ( 'sends update for a[x|y]ref attr on [x|y]ref change' , ( ) => {
@@ -115,6 +115,6 @@ describe('<AnnotationArrowRef>', () => {
115
115
expect ( options . length ) . toBe ( 3 ) ;
116
116
expect ( options [ 0 ] ) . toEqual ( { label : 'in pixels' , value : 'pixel' } ) ;
117
117
expect ( options [ 1 ] ) . toEqual ( { label : 'Y' , value : 'y' } ) ;
118
- expect ( options [ 2 ] ) . toEqual ( { label : 'yaxis2 title' , value : 'y2' } ) ;
118
+ expect ( options [ 2 ] ) . toEqual ( { label : 'Y Axis: yaxis2 title' , value : 'y2' } ) ;
119
119
} ) ;
120
120
} ) ;
Original file line number Diff line number Diff line change 4
4
import { getFromId } from 'plotly.js/src/plots/cartesian/axis_ids' ;
5
5
import nestedProperty from 'plotly.js/src/lib/nested_property' ;
6
6
7
-
8
-
9
7
// Temporary fix for:
10
8
// https://github.com/plotly/react-plotly.js-editor/issues/103
11
9
// We should be able to remove this once the plotly.react method has
You can’t perform that action at this time.
0 commit comments