Skip to content

Commit 731112d

Browse files
committed
Merge branch 'degzhaus/add_quiver' of https://github.com/degzhaus/plotly.js into degzhaus-add-quiver
2 parents a556e16 + d2ba006 commit 731112d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

draftlogs/7710_add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Add `quiver` trace type to visualize vector fields using arrows [[#7710](https://github.com/plotly/plotly.js/pull/7710)]
1+
- Add `quiver` trace type to visualize vector fields using arrows [[#7710](https://github.com/plotly/plotly.js/pull/7710)], with thanks to @degzhaus for the contribution!

test/image/mocks/quiver_colorscale.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"sizemode": "scaled",
1010
"anchor": "tail",
1111
"marker": {
12-
"color": [1.41, 2.24, 3.16, 2.24, 2.83, 3.61, 3.16, 3.61, 4.24],
1312
"colorscale": "Viridis",
1413
"showscale": true,
1514
"colorbar": {
@@ -22,6 +21,9 @@
2221
"layout": {
2322
"width": 600,
2423
"height": 500,
25-
"title": {"text": "Quiver with Colorscale"}
24+
"title": {
25+
"text": "Quiver with Colorscale",
26+
"subtitle": {"text": "When using a colorscale, vector magnitude is used for color,<br> unless marker.color is an array of values"}
27+
}
2628
}
2729
}

0 commit comments

Comments
 (0)