You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mozilla plot point size on scattergl plots is not equal as in Chrome and as in SVG plots #1287
I have been doing some trials on my own about scatter and scattergl 2D plots. This is what I found:
SVG plot:
Mozilla performs good and exactly the same as Chrome when inputing a list of sizes for the points being displayed. Length(Points) == Length(List of sizes)
Chrome performs good an exactly the same as Mozilla in SVG when inputing a list of sizes for the points being displayed. Length(Points) == Length(List of sizes)
WebGL plot:
Mozilla performs good but different as Chrome in WebGL and SVG and different as Mozilla in SVG as well.
Chrome performs good and same as Chrome in SVG and Mozilla in SVG but different as Mozilla in WebGL
To summarize, at some point the rendering of the scattergl plot in mozilla oversizes the points even if you input a specific point size. Chrome in SVG and WebGL perform the same
Between SVG implementations there is no difference between browsers. So Chrome in WebGL perfomes almost exactly as in SVG, but Mozilla changes a lot... Too much for the app I am doing... and I can't force the useres to use chrome....
We use monospace default system font for rendering symbols, it is likely that mozilla has whether different monospace font or uses different rendering approach. @ifll can you show screenshots of chrome/mozilla webgl plot?
Currently I cannot dedicate some time on it, I need to face other stuff. Maybe during the week or on the next week I can find some time and try to provide them. Sorry for this and hope it is not an inconvinience....
Activity
etpinard commentedon Jan 9, 2017
Can you share a reproducible example?
ifll commentedon Jan 9, 2017
Check out the point size differences between chrome and mozilla running this two codepends in both browsers:
scatter: https://codepen.io/anon/pen/pRjLwL
scattergl: https://codepen.io/anon/pen/dNYmVP
FYI I was using those browsers on UBUNTU 16.04
Chrome: 55.0.2883.87
Mozilla: 50.1.0
ifll commentedon Jan 9, 2017
In chrome there is a very small difference on point size, but in mozilla there is a huge one with webGL...
ifll commentedon Jan 9, 2017
Between SVG implementations there is no difference between browsers. So Chrome in WebGL perfomes almost exactly as in SVG, but Mozilla changes a lot... Too much for the app I am doing... and I can't force the useres to use chrome....
etpinard commentedon Jan 10, 2017
Thanks for the report
cc @dfcreative
ifll commentedon Jan 10, 2017
Any idea when this could be solved?
rreusser commentedon Jan 10, 2017
FWIW I can't confirm that I'm seeing this. For the
scatterglplot in mozilla 50.1.0 in OS X 10.11.4, I see:So there may be a component of OS or hardware dependency involved.
etpinard commentedon Jan 10, 2017
Thanks for checking @rreusser !
ifll commentedon Jan 10, 2017
Mozilla 50.1.0 Ubuntu 16.04 SVG plot
Mozilla 50.1.0 Ubuntu 16.04 WebGL plot
etpinard commentedon Jan 10, 2017
@ifll yes, I can confirm the behavior in Ubuntu 16.04
ifll commentedon Jan 10, 2017
It seems to be Ubuntu Specific, as I have checked in windows and it worked...
dy commentedon Apr 7, 2017
We use monospace default system font for rendering symbols, it is likely that mozilla has whether different monospace font or uses different rendering approach.
@ifll can you show screenshots of chrome/mozilla webgl plot?
ifll commentedon Apr 10, 2017
Currently I cannot dedicate some time on it, I need to face other stuff. Maybe during the week or on the next week I can find some time and try to provide them. Sorry for this and hope it is not an inconvinience....
dy commentedon Jan 15, 2018
1e300c4 adds sizes test
etpinard commentedon Jan 18, 2018
done in #2258