Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 04466db

Browse filesBrowse files
committed
getDataToPixel: If shift is undefined, set it to 0
1 parent 1bfb22d commit 04466db
Copy full SHA for 04466db

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/components/shapes/helpers.js

Copy file name to clipboardExpand all lines: src/components/shapes/helpers.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ exports.extractPathCoords = function(path, paramsToUse, isRaw) {
5656
exports.getDataToPixel = function(gd, axis, shift, isVertical, refType) {
5757
var gs = gd._fullLayout._size;
5858
var dataToPixel;
59+
shift = shift || 0;
5960

6061
if(axis) {
6162
if(refType === 'domain') {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.