Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: GL2D scatterplot marker size and redrawing/restyling breaks plot

See original GitHub issue

In this example, I’m using the LATEST version of plotly 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: latest version of plotly bug


When I switch to version 1.5.0 of Plotly, it responds correctly to resizing the Markers and redrawing

EXAMPLE: version 1 5 doesn t break marker size


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

dycommented, Mar 24, 2017
destradafilmcommented, Mar 22, 2017

I updated the codepens by switching it to restyle instead of redraw and it has the same results

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found