Skip to content

Commit a8a14f8

Browse files
committed
drop deprecated plot3dPixelRatio from config
1 parent 3055546 commit a8a14f8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/plot_api/plot_api.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -452,11 +452,6 @@ function setPlotContext(gd, config) {
452452
}
453453
}
454454

455-
// map plot3dPixelRatio to plotGlPixelRatio for backward compatibility
456-
if(config.plot3dPixelRatio && !context.plotGlPixelRatio) {
457-
context.plotGlPixelRatio = context.plot3dPixelRatio;
458-
}
459-
460455
// now deal with editable and edits - first editable overrides
461456
// everything, then edits refines
462457
var editable = config.editable;

src/plot_api/plot_config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,7 @@ var configAttributes = {
350350
min: 1,
351351
max: 4,
352352
description: [
353-
'Set the pixel ratio during WebGL image export.',
354-
'This config option was formerly named `plot3dPixelRatio`',
355-
'which is now deprecated.'
353+
'Set the pixel ratio during WebGL image export.'
356354
].join(' ')
357355
},
358356

0 commit comments

Comments
 (0)