8000 Handle streamtube coordinates in string format and handle different data orders in isosurface and volume by archmoj · Pull Request #4431 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Handle streamtube coordinates in string format and handle different data orders in isosurface and volume #4431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 30, 2019
Merged
Prev Previous commit
Next Next commit
pass len to distictVals and filter to help improve the performance
  • Loading branch information
archmoj committed Dec 27, 2019
commit b71677a1255b52cab4dae423de4d501a6f0b4a81
4 changes: 2 additions & 2 deletions src/traces/streamtube/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ function processGrid(trace) {
};
}

function distinctVals(col) {
return Lib.distinctVals(filter(col)).vals;
function distinctVals(col, len) {
return Lib.distinctVals(filter(col, len)).vals;
}

function filter(arr, len) {
Expand Down
0