-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Hover label order for overlapping points is backwards when using WebGL #4999
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
Comments
* Added 'all' option for cell_metadata_to_metacell * interim commit: added most of import and tab skeleton * Added 2d plot and diff expression in projection tab * 1. More atlas projection features 2. Removed query string 3. Color fix in markers heatmap tab 4. Moved controllers to top of plot * Make tabs buttons collapsible * Move all plot controllers to box sidebar * 1. Added marking of forbidden/systematic/disjoined genes. 2. Added obs/exp scatters 3. Added control for maximal number of genes in markers tab * Implemented 2D projections in atlas tab * use slanter on type predictions plot * Added coloring of 2D by atlas/query metadata * Remove metadata option from projection gene/gene plot * document * fix: order of cell type colors data frame columns * Added color controls to query projection on atlas 2D * Added an option to bundle a self contained app * 1. Adjust point size to screen width and height 2. Remove webGL in 2D projection * Adjust stroke and min edge length * larger default scatter point size * Plot points twice in 2D projection plots due to plotly/plotly.js#4999 * Modified vignette * in query tab: added option to select metacells from scatter or type predictions * 1. Added coloring of projection by selected groups 2. Use render_2d_plotly in diff expr. tab * In annotate tab - use the same components as other tabs * annotate tab: click on a gene in diff expression to select in in scatter * 1. removed time panels from annotation tab (they are redundant given the new gene/gene plot) 2. reduce padding at annotate tab 3. changed order of controls at markers tab * Added remove button to groups in diff expr * fix: crash when selecting cell types on diff expr. tab * bug fix when importing systematic and forbidden genes * use also negative values in projection fold matrix * separated markers, inner-fold and proj-fold matrices to separate tabs * Changed titles of boxes in proj and inner fold tabs * unified heatmap code * 1. Renamed "Proj-fold" to "Projected-fold" 2. Only warn about unknown tabs * 0.2.2
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
The issue still exists in version 4.10.4 (R package) and is still of concern when using WebGL. |
In a scatter plot with overlapping points, when the hovermode is set to closest, the usual behavior is to show only the information of the trace that is the most in the foreground, that is the latest one to be added, equivalently the one with largest trace number.
example: https://plotly.com/~frseguin/3/
I have noticed that when using WebGL, the information shown is instead of the trace most in the background, equivalently the trace with the smallest number. I do not know if this behavior is intended or not, but seeing as it is different from the regular scatter plot, I thought it might be a bug.
example: https://plotly.com/~frseguin/5/
My use case is the following. I have a line plot on which I want to highlight certain points with markers, but not all of them. I am adding a markers trace for those points on top of the lines trace so that it is visible. I also want the hover info to display the info from markers. At the moment, in WebGL, I can't seem to be able to do both (Trace on top and display hover info).
Thank you very much for your help.
The text was updated successfully, but these errors were encountered: