BUG: GL2D scatterplot marker size and redrawing/restyling breaks plot
See original GitHub issueIn this example, I’m using the LATEST version of plotly https://cdn.plot.ly/plotly-latest.min.js
I change the size of the marker to an array. Some Markers should get bigger and some should get smaller. The result is that they move in x and y coordinates and get slightly smaller. Unless, I change the symbol of the marker. The ‘redraw’ or ‘restyle’ function cleans it up
EXAMPLE:
CODEPEN: http://codepen.io/destrada/pen/xqYJYQ
When I switch to version 1.5.0 https://cdn.plot.ly/plotly-1.5.0.min.js
of Plotly, it responds correctly to resizing the Markers and redrawing
EXAMPLE:
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[BUG] Legend in Scatter Plot with small `markersize` is scaled ...
Hi! The following scatter(randn((10,)), randn((10,)), markersize=0.1) results in broken legends: and scatter(randn((10,)), randn((10,)), ...
Read more >matplotlib - pyplot scatter plot marker size - Stack Overflow
This has always been confusing to me, but I believe it has to do with scatterplot marker size being used to denote amount...
Read more >How to increase marker size in scatter plot? - MATLAB Answers
The trick is that you need to indicate much larger size than you would in plot(). I tried 10 before, and the markers...
Read more >matplotlib.pyplot.scatter — Matplotlib 3.6.2 documentation
A scatter plot of y vs. x with varying marker size and/or color. Parameters: x, yfloat or array-like, shape (n, ). The data...
Read more >Plot Type: Scatter Plot - ScottPlot 4.1 Cookbook
Cos(pointCount); // add scatter plots and customize markers var sp1 = plt.AddScatter(x, sin, markerSize: 15); sp1.MarkerShape = MarkerShape.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
gl-scatter2d-sdf@1.3.4 fixes that.
I updated the codepens by switching it to
restyle
instead ofredraw
and it has the same results