We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
plotly
Learn more about funding links in repositories.
Report abuse
1 parent fed224c commit 7f47de1Copy full SHA for 7f47de1
package.json
@@ -66,7 +66,7 @@
66
"gl-line3d": "^1.1.0",
67
"gl-mat4": "^1.1.2",
68
"gl-mesh3d": "^1.2.0",
69
- "gl-plot2d": "^1.1.9",
+ "gl-plot2d": "^1.2.0",
70
"gl-plot3d": "^1.5.1",
71
"gl-pointcloud2d": "^1.0.0",
72
"gl-scatter2d": "^1.2.0",
src/plots/gl2d/scene2d.js
@@ -249,9 +249,8 @@ proto.computeTickMarks = function() {
249
250
for(var j = 0; j < 2; ++j) {
251
for(var i = 0; i < nextTicks[j].length; ++i) {
252
- // TODO add support for '\n' in gl-plot2d,
253
- // For now, replace '\n' with ' '
254
- nextTicks[j][i].text = convertHTMLToUnicode(nextTicks[j][i].text + '').replace(/\n/g, ' ');
+ // coercing tick value (may not be a string) to a string
+ nextTicks[j][i].text = convertHTMLToUnicode(nextTicks[j][i].text + '');
255
}
256
257
test/image/baselines/gl2d_date_axes.png
116 Bytes
0 commit comments