Skip to content

Commit 0cc3ecd

Browse files
committed
Reduce size of scattergl
2 parents add0261 + 003e9f3 commit 0cc3ecd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/building_traces_layouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ of the plot, whether the grid lines are drawn and the position of the legend.
197197
[layout reference documentation](https://plotly.com/julia/reference/layout/).
198198

199199

200-
## The `attr` function
200+
## [The `attr` function](@id attr)
201201

202202
There is a special function named `attr` that allows you to apply the same
203203
keyword magic we saw in the trace and layout functions with underscores,

docs/src/examples/line_scatter2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ One can use WebGL with [`scattergl`](https://plotly.com/julia/reference/scatterg
368368
```@example
369369
using PlotlyJS
370370
371-
N = 10000
371+
N = 3000
372372
plot(scattergl(x=randn(N), y=randn(N), mode="markers",
373373
marker=attr(color=randn(N), colorscale="Viridis", line_width=1)))
374374
```

docs/src/extra-examples/line-and-scatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ ability to plot even more data!
131131
```@example
132132
using PlotlyJS
133133
134-
N = 100000
134+
N = 3000
135135
plot(scattergl(x=randn(N), y=randn(N), mode="markers",
136136
marker=attr(color=randn(N), colorscale="Viridis", line_width=1)))
137137
```

0 commit comments

Comments
 (0)