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
config option plotGlPixelRatio changes size of markers #3246
Are we actually using the pixel ratio? I can't detect any difference in antialiasing, in 2D or 3D, which is what I thought this was supposed to accomplish. The only change I notice is this bug.
One other thing to note: if I move a 3D from my second screen (window.devicePixelRatio = 1) to my laptop screen (window.devicePixelRatio = 2) it looks blurry until I newPlot - rotating the scene or even edits like turning traces on and off do not cause it to pick up the new screen resolution. But it looks beautiful after a newPlot.
2D plots never seem to use the increased resolution of my laptop screen, they're blurry even if that's where they were plotted in the first place.
So I'd say we have a number of things to sort out with config.plotGlPixelRatio!
Hi there! I followed this question regarding blurry rendering on high DPI (Retina) displays and arrived at this issue.
I was just wondering if the root cause of the issue is known or if the problem is being actively worked on.
If not, are there any hacky suggestions to force crisper rendering in the meantime? I looked into rendering the graph at 2X size and using CSS transforms to scale it down, but interactivity does not work well with scale().
Hi there! I followed this question regarding blurry rendering on high DPI (Retina) displays and arrived at this issue.
I was just wondering if the root cause of the issue is known or if the problem is being actively worked on.
If not, are there any hacky suggestions to force crisper rendering in the meantime? I looked into rendering the graph at 2X size and using CSS transforms to scale it down, but interactivity does not work well with scale().
Thanks in advance!
Same here. Very surprised that plotly doesn't support hi dpi displays especially given how popular they are
Activity
antoinerg commentedon Nov 15, 2018
For whoever who's going to fix this: the offending line in regl-scatter2d is there : https://github.com/gl-vis/regl-scatter2d/blob/8e68ee211dd7e8c2892e55eb392271994046cd00/marker-vert.glsl#L50
alexcjohnson commentedon Nov 15, 2018
Are we actually using the pixel ratio? I can't detect any difference in antialiasing, in 2D or 3D, which is what I thought this was supposed to accomplish. The only change I notice is this bug.
One other thing to note: if I move a 3D from my second screen (
window.devicePixelRatio = 1) to my laptop screen (window.devicePixelRatio = 2) it looks blurry until InewPlot- rotating the scene or even edits like turning traces on and off do not cause it to pick up the new screen resolution. But it looks beautiful after anewPlot.2D plots never seem to use the increased resolution of my laptop screen, they're blurry even if that's where they were plotted in the first place.
So I'd say we have a number of things to sort out with
config.plotGlPixelRatio!antoinerg commentedon Nov 15, 2018
I am actually not sure we're using the pixel ratio. Maybe @archmoj would know!
archmoj commentedon Feb 25, 2019
Next we could address this in a similar way done in #3573.
whaatt commentedon May 26, 2020
Hi there! I followed this question regarding blurry rendering on high DPI (Retina) displays and arrived at this issue.
I was just wondering if the root cause of the issue is known or if the problem is being actively worked on.
If not, are there any hacky suggestions to force crisper rendering in the meantime? I looked into rendering the graph at 2X size and using CSS transforms to scale it down, but interactivity does not work well with
scale().Thanks in advance!
agusterodin commentedon May 27, 2020
Same here. Very surprised that plotly doesn't support hi dpi displays especially given how popular they are
jbullock35 commentedon Jun 26, 2020
It's not just a problem on high-DPI displays. For example, see https://stackoverflow.com/questions/62498783/plotly-webgl-plots-are-fuzzy-blurry.
nicolaskruchten commentedon Aug 21, 2020
Cool! This will address https://community.plotly.com/t/webgl-plots-are-blurry/41716 right?
archmoj commentedon Aug 21, 2020
Possibly related.