René's URL Explorer Experiment


Title: Y-axis tickformat='+' causes unexpected scientific notation for zero tick · Issue #5152 · plotly/plotly.py · GitHub

Open Graph Title: Y-axis tickformat='+' causes unexpected scientific notation for zero tick · Issue #5152 · plotly/plotly.py

X Title: Y-axis tickformat='+' causes unexpected scientific notation for zero tick · Issue #5152 · plotly/plotly.py

Description: Hi Plotly team, I'm encountering an issue when trying to display the sign for all Y-axis tick labels using the tickformat='+' format. Specifically, when the Y-axis includes a tick near zero, Plotly displays it in scientific notation inst...

Open Graph Description: Hi Plotly team, I'm encountering an issue when trying to display the sign for all Y-axis tick labels using the tickformat='+' format. Specifically, when the Y-axis includes a tick near zero, Plotly...

X Description: Hi Plotly team, I'm encountering an issue when trying to display the sign for all Y-axis tick labels using the tickformat='+' format. Specifically, when the Y-axis includes a tick near ...

Opengraph URL: https://github.com/plotly/plotly.py/issues/5152

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Y-axis tickformat='+' causes unexpected scientific notation for zero tick","articleBody":"Hi Plotly team,\n\nI'm encountering an issue when trying to display the sign for all Y-axis tick labels using the tickformat='+' format. Specifically, when the Y-axis includes a tick near zero, Plotly displays it in scientific notation instead of as +.\n\n### Problem\nSetting tickformat='+' on the Y-axis leads to unexpected tick labels like -8.881784197e-17, which appears instead of a clean +0. This seems to be due to floating-point precision errors, but it's surprising that it breaks the format hint and drops into scientific notation.\n\n### Minimal reproducible example\n```python\nimport plotly.graph_objects as go\n\nfigure = go.Figure()\n\nfigure.add_scatter(\n    x=[1],\n    y=[0.58],\n)\n\nfigure.update_layout(\n    yaxis={\n        'range': [-0.66, 0.66],\n        'tickformat': '+',\n    },\n)\n\nfigure.show()\n```\n\n\u003cimg width=\"1056\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/bf3f1a95-f2f2-4291-bfea-c2c49c772272\" />\n\n### Expected Behavior\nAll tick labels on the Y-axis should respect the + format and include a sign, including zero. The tick at (or near) zero should be displayed as +0, not in scientific notation.\n\nThanks for the awesome work on Plotly!","author":{"url":"https://github.com/eneginsky","@type":"Person","name":"eneginsky"},"datePublished":"2025-04-24T16:16:14Z","url":"https://github.com/plotly/plotly.py/issues/5152"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d94f5968-dc6d-0262-90e1-70eb5ce720dd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB9CC:30CC09:6091BE:81E153:6AFF8836
html-safe-nonceeae468237c96d4ccd890db938db527cecafbb7d75c24bd4f2ea9fd5db8c48578
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUNDOjMwQ0MwOTo2MDkxQkU6ODFFMTUzOjZBRkY4ODM2IiwidmlzaXRvcl9pZCI6IjM0MjA2NDg0NzYxNjAwMDIxMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb8d6d85563074870e8d4065b85081fad3076ea9aa543094d407429b35893abf4
hovercard-subject-tagissue:3017783685
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.py/5152/issue_layout
twitter:imagehttps://opengraph.githubassets.com/43b870983190d50bdd072357a4188144e44c0ca12901e75865716804129e24ad/plotly/plotly.py/issues/5152
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/43b870983190d50bdd072357a4188144e44c0ca12901e75865716804129e24ad/plotly/plotly.py/issues/5152
og:image:altHi Plotly team, I'm encountering an issue when trying to display the sign for all Y-axis tick labels using the tickformat='+' format. Specifically, when the Y-axis includes a tick near zero, Plotly...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeneginsky
hostnamegithub.com
expected-hostnamegithub.com
None587ad99a3e443b2e1cb0d3df059ec49ab54389861f13310766dfdeb615fed90d
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579099
octolytics-dimension-repository_nwoplotly/plotly.py
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579099
octolytics-dimension-repository_network_root_nwoplotly/plotly.py
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5bb0fb68d64881d1344f5863d809515d496801e5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/5152#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F5152
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.py%2Fissues%2F5152
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.py
Reloadhttps://github.com/plotly/plotly.py/issues/5152
Reloadhttps://github.com/plotly/plotly.py/issues/5152
Reloadhttps://github.com/plotly/plotly.py/issues/5152
plotlyhttps://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Codehttps://github.com/plotly/plotly.py
Issues650 (650)https://github.com/plotly/plotly.py/issues
Pull requests82 (82)https://github.com/plotly/plotly.py/pulls
Actionshttps://github.com/plotly/plotly.py/actions
Security and qualityhttps://github.com/plotly/plotly.py/security
Insightshttps://github.com/plotly/plotly.py/insights
https://github.com/plotly/plotly.py
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5152
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5152
Y-axis tickformat='+' causes unexpected scientific notation for zero tickhttps://github.com/plotly/plotly.py/issues/5152#top
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/eneginsky
eneginskyhttps://github.com/eneginsky
on Apr 24, 2025https://github.com/plotly/plotly.py/issues/5152#issue-3017783685
https://private-user-images.githubusercontent.com/100992957/437112954-bf3f1a95-f2f2-4291-bfea-c2c49c772272.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxMzE3NDYsIm5iZiI6MTc5NTEzMTQ0NiwicGF0aCI6Ii8xMDA5OTI5NTcvNDM3MTEyOTU0LWJmM2YxYTk1LWYyZjItNDI5MS1iZmVhLWMyYzQ5Yzc3MjI3Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTExOVQyMzM3MjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02OGQzZjUyNDk0OWRiOTM2OWI1M2M3YTc3YTZjNjAzYmQyYjIxZTliMDdhMjJjZWUwZWVjYzU2NGZjYjk3ODAxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.czDsFsQOZm7CW0e4-kseRj119oi3kenbvub2r6g0h3A
gvwilsonhttps://github.com/gvwilson
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
on Apr 30, 2025https://github.com/plotly/plotly.py/issues/5152#event-17471931033
https://github.com/rahimbaig28
rahimbaig28https://github.com/rahimbaig28
on May 22, 2025https://github.com/plotly/plotly.py/issues/5152#issuecomment-2901280136
https://private-user-images.githubusercontent.com/55282089/446596690-24a9ae51-e176-4675-9d8b-4cbf65ad1759.PNG?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxMzE3NDYsIm5iZiI6MTc5NTEzMTQ0NiwicGF0aCI6Ii81NTI4MjA4OS80NDY1OTY2OTAtMjRhOWFlNTEtZTE3Ni00Njc1LTlkOGItNGNiZjY1YWQxNzU5LlBORz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE5VDIzMzcyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjZDliMTM2NDZkMGNiYjU2MGY3MzY2YmU5NWVkZDM1ZjMxODJkYTJlMjU4MWRlOWNmODZjZmM5NGE5ZjhkOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.MYr73ORLuGkMFKjFRApfZS4vpH_x0_3rVVf0gKuFkCI
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Aug 31, 2026https://github.com/plotly/plotly.py/issues/5152#issuecomment-5473646261
@rahimbaig28https://github.com/rahimbaig28
plotly/plotly.js#7900https://github.com/plotly/plotly.js/pull/7900
https://private-user-images.githubusercontent.com/4672118/643334521-fe6f57d9-fc13-4725-994e-23f58e8bf486.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUxMzE3NDYsIm5iZiI6MTc5NTEzMTQ0NiwicGF0aCI6Ii80NjcyMTE4LzY0MzMzNDUyMS1mZTZmNTdkOS1mYzEzLTQ3MjUtOTk0ZS0yM2Y1OGU4YmY0ODYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTlUMjMzNzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzkyZjBmYzYxMTdiYTFlMTU0ZWEwNjY1MjQ2NmIzMTY2MDViYjI1NGQ1MzZhNjc4YmE3OTczODczM2JmMzM1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.RLdqo47q8d3WXB3yzLeYFTrNriHmE9OilISUZUnkWA8
emilyklhttps://github.com/emilykl
completedhttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 31, 2026https://github.com/plotly/plotly.py/issues/5152#event-30256966517
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/5152
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5152
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
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.