From abe5c0afb8bf1d7859fdfbb5295c5080de3ec614 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Tue, 10 Sep 2019 12:50:28 -0400 Subject: [PATCH 1/3] additions to streamtube doc --- src/traces/streamtube/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/traces/streamtube/index.js b/src/traces/streamtube/index.js index 134d4c6b19c..c7d8e9feaf5 100644 --- a/src/traces/streamtube/index.js +++ b/src/traces/streamtube/index.js @@ -53,7 +53,9 @@ module.exports = { 'By default, the tubes\' starting positions will be cut from the vector field\'s', 'x-z plane at its minimum y value.', 'To specify your own starting position, use attributes `starts.x`, `starts.y`', - 'and `starts.z`.' + 'and `starts.z`.', + 'The color is encoded by the norm of (u, v, w), and the local radius', + 'by the divergence of (u, v, w)'. ].join(' ') } }; From 52eb483ba692f16b31085623d187000f48ffcdfe Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Tue, 10 Sep 2019 13:10:39 -0400 Subject: [PATCH 2/3] typo --- src/traces/streamtube/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traces/streamtube/index.js b/src/traces/streamtube/index.js index c7d8e9feaf5..eef401f3053 100644 --- a/src/traces/streamtube/index.js +++ b/src/traces/streamtube/index.js @@ -55,7 +55,7 @@ module.exports = { 'To specify your own starting position, use attributes `starts.x`, `starts.y`', 'and `starts.z`.', 'The color is encoded by the norm of (u, v, w), and the local radius', - 'by the divergence of (u, v, w)'. + 'by the divergence of (u, v, w).' ].join(' ') } }; From 0eeb471d764dfe411dea7262ab636c43af94943c Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Tue, 10 Sep 2019 13:22:49 -0400 Subject: [PATCH 3/3] linting --- src/traces/streamtube/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traces/streamtube/index.js b/src/traces/streamtube/index.js index eef401f3053..bdb5270e00d 100644 --- a/src/traces/streamtube/index.js +++ b/src/traces/streamtube/index.js @@ -54,8 +54,8 @@ module.exports = { 'x-z plane at its minimum y value.', 'To specify your own starting position, use attributes `starts.x`, `starts.y`', 'and `starts.z`.', - 'The color is encoded by the norm of (u, v, w), and the local radius', - 'by the divergence of (u, v, w).' + 'The color is encoded by the norm of (u, v, w), and the local radius', + 'by the divergence of (u, v, w).' ].join(' ') } };