-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config option plotGlPixelRatio changes size of markers #3246
Comments
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 |
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 ( 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 |
I am actually not sure we're using the pixel ratio. Maybe @archmoj would know! |
Next we could address this in a similar way done in #3573. |
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 Thanks in advance! |
Same here. Very surprised that plotly doesn't support hi dpi displays especially given how popular they are |
It's not just a problem on high-DPI displays. For example, see https://stackoverflow.com/questions/62498783/plotly-webgl-plots-are-fuzzy-blurry. |
Cool! This will address https://community.plotly.com/t/webgl-plots-are-blurry/41716 right? |
Possibly related. |
As @alexcjohnson found out while reviewing PR #3237, config option plotGlPixelRatio changes size of markers.
This is shown in this Codepen
The text was updated successfully, but these errors were encountered: