Skip to content

Commit

Permalink
Fix multi test to use styles instead of style
Browse files Browse the repository at this point in the history
  • Loading branch information
rreusser committed Jun 16, 2017
1 parent 6f03e6b commit 6e4f7c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/jasmine/tests/transform_multi_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ describe('multiple transforms:', function() {
transforms: [{
type: 'groupby',
groups: ['a', 'a', 'b', 'a', 'b', 'b', 'a'],
style: [{
styles: [{
target: 'a',
value: {marker: {color: 'red'}},
}, {
Expand All @@ -247,7 +247,7 @@ describe('multiple transforms:', function() {
transforms: [{
type: 'groupby',
groups: ['b', 'a', 'b', 'b', 'b', 'a', 'a'],
style: [{
styles: [{
target: 'a',
value: {marker: {color: 'green'}}
}, {
Expand Down Expand Up @@ -343,7 +343,7 @@ describe('multiple transforms:', function() {
expect(gd._fullData[1].marker.opacity).toEqual(1);

return Plotly.restyle(gd, {
'transforms[0].style': [[{
'transforms[0].styles': [[{
target: 'a',
value: {marker: {color: 'green'}}
}, {
Expand Down Expand Up @@ -457,7 +457,7 @@ describe('multiple traces with transforms:', function() {
transforms: [{
type: 'groupby',
groups: ['a', 'a', 'b', 'a', 'b', 'b', 'a'],
style: [{
styles: [{
target: 'a',
value: {marker: {color: 'red'}},
}, {
Expand Down Expand Up @@ -534,7 +534,7 @@ describe('multiple traces with transforms:', function() {
});

return Plotly.restyle(gd, {
'transforms[0].style': [[{
'transforms[0].styles': [[{
target: 'a',
value: {marker: {color: 'green'}},
}, {
Expand Down

0 comments on commit 6e4f7c0

Please sign in to comment.