diff --git a/draftlogs/7231_remove.md b/draftlogs/7231_remove.md new file mode 100644 index 00000000000..fdb6228765b --- /dev/null +++ b/draftlogs/7231_remove.md @@ -0,0 +1 @@ + - Drop deprecated plot3dPixelRatio from config [[#7231](https://github.com/plotly/plotly.js/pull/7231)] diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js index ff5c0b62aa5..8a332b88d5d 100644 --- a/src/plot_api/plot_api.js +++ b/src/plot_api/plot_api.js @@ -452,11 +452,6 @@ function setPlotContext(gd, config) { } } - // map plot3dPixelRatio to plotGlPixelRatio for backward compatibility - if(config.plot3dPixelRatio && !context.plotGlPixelRatio) { - context.plotGlPixelRatio = context.plot3dPixelRatio; - } - // now deal with editable and edits - first editable overrides // everything, then edits refines var editable = config.editable; diff --git a/src/plot_api/plot_config.js b/src/plot_api/plot_config.js index 0a1f5f9fca0..56ea308acae 100644 --- a/src/plot_api/plot_config.js +++ b/src/plot_api/plot_config.js @@ -350,9 +350,7 @@ var configAttributes = { min: 1, max: 4, description: [ - 'Set the pixel ratio during WebGL image export.', - 'This config option was formerly named `plot3dPixelRatio`', - 'which is now deprecated.' + 'Set the pixel ratio during WebGL image export.' ].join(' ') }, diff --git a/test/plot-schema.json b/test/plot-schema.json index 1fd64ae1281..5ee484e7217 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -272,7 +272,7 @@ "valType": "integer" }, "plotGlPixelRatio": { - "description": "Set the pixel ratio during WebGL image export. This config option was formerly named `plot3dPixelRatio` which is now deprecated.", + "description": "Set the pixel ratio during WebGL image export.", "dflt": 2, "max": 4, "min": 1,