Skip to content

Commit a5b202c

Browse files
authoredOct 17, 2024··
Merge pull request #7236 from plotly/drop-autotick
Drop deprecated `autotick` attributes from cartesian and gl3d axes
2 parents 2be6fcc + 61ac98f commit a5b202c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+83
-120
lines changed
 

‎draftlogs/7236_remove.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Drop deprecated autotick attributes from cartesian and gl3d axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]

‎src/plot_api/helpers.js

-9
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@ exports.cleanLayout = function(layout) {
8181

8282
// prune empty domain arrays made before the new nestedProperty
8383
if(emptyContainer(ax, 'domain')) delete ax.domain;
84-
85-
// autotick -> tickmode
86-
if(ax.autotick !== undefined) {
87-
if(ax.tickmode === undefined) {
88-
ax.tickmode = ax.autotick ? 'auto' : 'linear';
89-
}
90-
delete ax.autotick;
91-
}
92-
9384
}
9485
}
9586

0 commit comments

Comments
 (0)
Please sign in to comment.