@@ -265,33 +265,32 @@ function sceneUpdate(gd, subplot) {
265
265
scene . fill2d . draw ( i ) ;
266
266
if ( scene . line2d && scene . lineOptions [ i ] ) {
267
267
scene . line2d . draw ( i ) ;
268
- if ( scene . error2d && scene . errorXOptions [ i ] ) {
269
- scene . error2d . draw ( i ) ;
270
- }
271
- if ( scene . error2d && scene . errorYOptions [ i ] ) {
272
- scene . error2d . draw ( i + scene . count ) ;
273
- }
268
+ if ( scene . error2d && scene . errorXOptions [ i ] ) {
269
+ scene . error2d . draw ( i ) ;
270
+ }
271
+ if ( scene . error2d && scene . errorYOptions [ i ] ) {
272
+ scene . error2d . draw ( i + scene . count ) ;
273
+ }
274
274
}
275
275
if ( scene . scatter2d && scene . markerOptions [ i ] && ( ! scene . selectBatch || ! scene . selectBatch [ i ] ) ) {
276
276
// traces in no-selection mode
277
277
scene . scatter2d . draw ( i ) ;
278
278
}
279
279
} else {
280
- if ( scene . line2d && scene . lineOptions [ i ] ) {
281
- scene . line2d . draw ( i ) ;
282
- }
283
- if ( scene . error2d && scene . errorXOptions [ i ] ) {
284
- scene . error2d . draw ( i ) ;
285
- }
286
- if ( scene . error2d && scene . errorYOptions [ i ] ) {
287
- scene . error2d . draw ( i + scene . count ) ;
288
- }
289
- if ( scene . scatter2d && scene . markerOptions [ i ] && ( ! scene . selectBatch || ! scene . selectBatch [ i ] ) ) {
290
- // traces in no-selection mode
291
- scene . scatter2d . draw ( i ) ;
292
- }
293
-
294
- }
280
+ if ( scene . line2d && scene . lineOptions [ i ] ) {
281
+ scene . line2d . draw ( i ) ;
282
+ }
283
+ if ( scene . error2d && scene . errorXOptions [ i ] ) {
284
+ scene . error2d . draw ( i ) ;
285
+ }
286
+ if ( scene . error2d && scene . errorYOptions [ i ] ) {
287
+ scene . error2d . draw ( i + scene . count ) ;
288
+ }
289
+ if ( scene . scatter2d && scene . markerOptions [ i ] && ( ! scene . selectBatch || ! scene . selectBatch [ i ] ) ) {
290
+ // traces in no-selection mode
291
+ scene . scatter2d . draw ( i ) ;
292
+ }
293
+ }
295
294
}
296
295
297
296
// draw traces in selection mode
0 commit comments