-
-
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
Scattergl with HSL colors is off #2431
Comments
Those sound like bugs to me. Unfortunately, it is very hard for us (and for any library maintainer out there) to debug from screenshots. So, would you mind sharing a reproducible example of the graphs you made? Furthermore, would you mind telling us what browser and OS you're using? Thank you. |
Hi @etpinard, Thank you for the quick reply. I am running a Flask app that uses python to generate the traces and dumps into JSON format which is then plotted via Plotly.js's The server I am running the app off of runs on Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-139-generic x86_64). I am using Plotly.py version 2.4.1 and Plotly.js version 1.34.0 |
Ho I see, you're using In the meantime, by switching to |
@etpinard I had the same blurry problem for scattergl. The JSFiddle @tishihar94 provided actually looks blurry in my browser (Chrome Version 64.0.3282.186 (Official Build) (64-bit), Mac OS Sierra 10.12.6 (16G1036), and I am using a macbook pro retina if that helps). I tried to look up online and it seems that most of the WebGL blurry problems were related to creating the image at a different size and getting stretched by css. I have never seen the blurry problem with scatter3d. Not sure if this is related, in the case of my plot, before the plot is completely loaded (I am using Dash, but this seems to be not specific to Dash as this pen example has the same problem), the axes and grids were temporarily displayed in a smaller size than the final plot size. |
probably another for @dy for next week (aka scattergl bug week). |
@tishihar94 @jzthree Would mind testing to see if this issue still a problem? |
I'm still seeing blurry scattergl on high dpi screens. (Google Chrome v75.0.3770.100, plotly-1.48.3) |
Perhaps there is a connection here to #3246. In any case, the problem of blurry scattergl plots extends beyond high-DPI screens, stretching of the canvas (per @jzthree), or high-DPI screens. In addition to #3246, https://stackoverflow.com/questions/62498783/plotly-webgl-plots-are-fuzzy-blurry has some information that may be relevant. |
I observed the Optimistically, updating the dependency should solve the problem. |
@twitwi Thank you very much. I spent so long trying to figure it out what's wrong with the colors and I found this bug too! I can confirm that the problem with the HSL value above 255 is fixed by updating color-rgba to |
Hello,
It seems like markers for Scattergl plots are much more blurrier than Scatter plots.
Scatter:
Scattergl (same parameters):
Also, in Scattergl, it seems like the markers don't display the proper color while the hover label does:
Is this just a characteristic of WebGL?
The text was updated successfully, but these errors were encountered: