René's URL Explorer Experiment


Title: Show box/violin position when hovering over pts by etpinard · Pull Request #3441 · plotly/plotly.js · GitHub

Open Graph Title: Show box/violin position when hovering over pts by etpinard · Pull Request #3441 · plotly/plotly.js

X Title: Show box/violin position when hovering over pts by etpinard · Pull Request #3441 · plotly/plotly.js

Description: ... instead of showing the point's position - fixes #3440 https://codepen.io/etpinard/pen/NeVaYR?editors=1010 now looks like: Note that this was only a problem for box/violin traces with numeric positions (e.g. with set x and y arrays) under hovermode:'closest', as deeper down Fx.hover plotly.js/src/components/fx/hover.js Lines 1341 to 1348 in cc45972 if(d.xLabelVal !== undefined) { d.xLabel = ('xLabel' in d) ? d.xLabel : Axes.hoverLabelText(d.xa, d.xLabelVal); d.xVal = d.xa.c2d(d.xLabelVal); } if(d.yLabelVal !== undefined) { d.yLabel = ('yLabel' in d) ? d.yLabel : Axes.hoverLabelText(d.ya, d.yLabelVal); d.yVal = d.ya.c2d(d.yLabelVal); } calls Axes.hoverLabelText which then formats the positions back to categories with: plotly.js/src/plots/cartesian/axes.js Lines 1164 to 1168 in cc45972 function formatCategory(ax, out) { var tt = ax._categories[Math.round(out.x)]; if(tt === undefined) tt = ''; out.text = String(tt); }

Open Graph Description: ... instead of showing the point's position - fixes #3440 https://codepen.io/etpinard/pen/NeVaYR?editors=1010 now looks like: Note that this was only a problem for box/violin traces with numer...

X Description: ... instead of showing the point's position - fixes #3440 https://codepen.io/etpinard/pen/NeVaYR?editors=1010 now looks like: Note that this was only a problem for box/violin traces with n...

Opengraph URL: https://github.com/plotly/plotly.js/pull/3441

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b33f5e4f-47f4-d058-335d-0e4cccea68b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92A2:E9D16:205520A:28FC138:6B01A7D2
html-safe-nonce5cc360ca86326ccde72e2200aab5717d16e5d2e98f99e6e7fb43ebe0c06a2dc1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkEyOkU5RDE2OjIwNTUyMEE6MjhGQzEzODo2QjAxQTdEMiIsInZpc2l0b3JfaWQiOiIxNzQxNDI5NTMwMzAxNjcxMzc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac76fb4bd18e24f749e29f063465550d171d36daa2bb605c5517b65d08e7618ac9
hovercard-subject-tagpull_request:245560413
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/plotly/plotly.js/pull/3441/files
twitter:imagehttps://avatars.githubusercontent.com/u/6675409?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6675409?s=400&v=4
og:image:alt... instead of showing the point's position - fixes #3440 https://codepen.io/etpinard/pen/NeVaYR?editors=1010 now looks like: Note that this was only a problem for box/violin traces with numer...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/3441/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3441%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3441%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/3441/files
Reloadhttps://github.com/plotly/plotly.js/pull/3441/files
Reloadhttps://github.com/plotly/plotly.js/pull/3441/files
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
boxpoint-hover-fix-numeric-positionshttps://github.com/plotly/plotly.js/tree/boxpoint-hover-fix-numeric-positions
Conversation 2 https://github.com/plotly/plotly.js/pull/3441
Commits 1 https://github.com/plotly/plotly.js/pull/3441/commits
Checks 0 https://github.com/plotly/plotly.js/pull/3441/checks
Files changed https://github.com/plotly/plotly.js/pull/3441/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3441/files
Show box/violin position when hovering over pts https://github.com/plotly/plotly.js/pull/3441/files#top
Show all changes 1 commit https://github.com/plotly/plotly.js/pull/3441/files
c3624d1 show box/violin position when hovering over pts etpinard Jan 17, 2019 https://github.com/plotly/plotly.js/pull/3441/commits/c3624d1a14e96c25bbfce3d6816f1f828d503aa3
Clear filters https://github.com/plotly/plotly.js/pull/3441/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3441/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3441/files
hover.js https://github.com/plotly/plotly.js/pull/3441/files#diff-bffee1ab1ba9e06b919b8137d6608f35cd815433f20458865c1529cd8aac672d
box_test.js https://github.com/plotly/plotly.js/pull/3441/files#diff-931795244990a7c6362f6bd64b4f2ee79e68ea4703eed684f444f1026530f012
violin_test.js https://github.com/plotly/plotly.js/pull/3441/files#diff-648751cbb86175a1a72d2535cc1387c79b71ffdf05bf4d68133368749e43fa31
src/traces/box/hover.jshttps://github.com/plotly/plotly.js/pull/3441/files#diff-bffee1ab1ba9e06b919b8137d6608f35cd815433f20458865c1529cd8aac672d
View file https://github.com/plotly/plotly.js/blob/c3624d1a14e96c25bbfce3d6816f1f828d503aa3/src/traces/box/hover.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/3441/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/3441/files#diff-bffee1ab1ba9e06b919b8137d6608f35cd815433f20458865c1529cd8aac672d
https://github.com/plotly/plotly.js/pull/3441/files#diff-bffee1ab1ba9e06b919b8137d6608f35cd815433f20458865c1529cd8aac672d
test/jasmine/tests/box_test.jshttps://github.com/plotly/plotly.js/pull/3441/files#diff-931795244990a7c6362f6bd64b4f2ee79e68ea4703eed684f444f1026530f012
View file https://github.com/plotly/plotly.js/blob/c3624d1a14e96c25bbfce3d6816f1f828d503aa3/test/jasmine/tests/box_test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/3441/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/3441/files#diff-931795244990a7c6362f6bd64b4f2ee79e68ea4703eed684f444f1026530f012
https://github.com/plotly/plotly.js/pull/3441/files#diff-931795244990a7c6362f6bd64b4f2ee79e68ea4703eed684f444f1026530f012
test/jasmine/tests/violin_test.jshttps://github.com/plotly/plotly.js/pull/3441/files#diff-648751cbb86175a1a72d2535cc1387c79b71ffdf05bf4d68133368749e43fa31
View file https://github.com/plotly/plotly.js/blob/c3624d1a14e96c25bbfce3d6816f1f828d503aa3/test/jasmine/tests/violin_test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/3441/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/3441/files#diff-648751cbb86175a1a72d2535cc1387c79b71ffdf05bf4d68133368749e43fa31
https://github.com/plotly/plotly.js/pull/3441/files#diff-648751cbb86175a1a72d2535cc1387c79b71ffdf05bf4d68133368749e43fa31
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.