Skip to content

Commit

Permalink
Fix returned plot points value
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Sep 22, 2024
1 parent e6da48c commit 203ac9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ const Expose = add_alias({
rules.points = max;
return rules;
});
return points;
return points[idx - 1];
};
},

Expand All @@ -665,7 +665,7 @@ const Expose = add_alias({
rules.unit = rules.unit || 'none';
return rules;
});
return points;
return points[idx - 1];
};
},

Expand Down

0 comments on commit 203ac9e

Please sign in to comment.