[demo](https://codepen.io/MojtabaSamimi/pen/rNWjBoo)
Activity
jonmmease commentedon Feb 12, 2021
Looking at https://www.khronos.org/webgl/wiki/HandlingHighDPI, I wonder if we need to use a larger canvas size here:
plotly.js/src/plot_api/plot_api.js
Lines 225 to 227 in 7347bed
This doesn't work on its own, but something like:
In this case, I think we would not want to use a constant marker size (#5093).
But I don't understand this very well. And not sure why it wouldn't be an issue with gl3d plots.
jonmmease commentedon Feb 12, 2021
Looks like this is what scatter3d is doing:
https://github.com/gl-vis/gl-plot3d/blob/0ae1280e1d366fcf96419b6acd85c194ee1f43a6/scene.js#L253-L266
archmoj commentedon Feb 12, 2021
In that case perhaps we also need to patch
reg-line2dand some other modules to take into account pixelRatio.jonmmease commentedon Feb 12, 2021
I think I have a solution... Will open WIP PR in a bit.
Edit: only needs plotly.js updates