We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expand
1 parent dc2f3ba commit 49f7fb0Copy full SHA for 49f7fb0
src/plots/cartesian/autorange.js
@@ -219,6 +219,8 @@ function needsAutorange(ax) {
219
* Note that `expand` is called during `calc`, when we don't yet know the axis
220
* length; all the inputs should be based solely on the trace data, nothing
221
* about the axis layout.
222
+ * Note that `ppad` and `vpad` as well as their asymmetric variants refer to
223
+ * the before and after padding of the passed `data` array, not to the whole axis.
224
*
225
* @param {object} ax: the axis being expanded. The result will be more entries
226
* in ax._min and ax._max if necessary to include the new data
0 commit comments