René's URL Explorer Experiment


Title: slight change in surface opacity changes image completely · Issue #2690 · plotly/plotly.py · GitHub

Open Graph Title: slight change in surface opacity changes image completely · Issue #2690 · plotly/plotly.py

X Title: slight change in surface opacity changes image completely · Issue #2690 · plotly/plotly.py

Description: I need to adjust the opacity of a surface, so I can overlay two surfaces on top of each other (not sure how else to do that). But on a very small change from 1 to slightly below the look of the plot changes a lot. opacity=1 opacity=0.999...

Open Graph Description: I need to adjust the opacity of a surface, so I can overlay two surfaces on top of each other (not sure how else to do that). But on a very small change from 1 to slightly below the look of the plo...

X Description: I need to adjust the opacity of a surface, so I can overlay two surfaces on top of each other (not sure how else to do that). But on a very small change from 1 to slightly below the look of the plo...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"slight change in surface opacity changes image completely","articleBody":"I need to adjust the opacity of a surface, so I can overlay two surfaces on top of each other (not sure how else to do that). But on a very small change from 1 to slightly below the look of the plot changes a lot.\r\n\r\n`opacity=1`\r\n![image](https://user-images.githubusercontent.com/15052188/89465012-5375fa00-d769-11ea-80a7-838a9e07fa72.png)\r\n\r\n`opacity=0.99999`\r\n![image](https://user-images.githubusercontent.com/15052188/89465026-5a047180-d769-11ea-9608-644726448902.png)\r\n\r\n\r\n```\r\nimport numpy as np\r\nfrom plotly.graph_objs import Figure, Surface\r\n\r\nx = np.array(\r\n    [\r\n        [0, 0, 0, 0, 0, 0, 0, 0, 0],\r\n        [\r\n            7.07106781e-01,\r\n            0.5,\r\n            4.32978028e-17,\r\n            -0.5,\r\n            -7.07106781e-01,\r\n            -0.5,\r\n            -1.29893408e-16,\r\n            0.5,\r\n            7.07106781e-01,\r\n        ],\r\n        [\r\n            1,\r\n            7.07106781e-01,\r\n            6.12323400e-17,\r\n            -7.07106781e-01,\r\n            -1,\r\n            -7.07106781e-01,\r\n            -1.83697020e-16,\r\n            7.07106781e-01,\r\n            1,\r\n        ],\r\n        [\r\n            7.07106781e-01,\r\n            0.5,\r\n            4.32978028e-17,\r\n            -0.5,\r\n            -7.07106781e-01,\r\n            -0.5,\r\n            -1.29893408e-16,\r\n            0.5,\r\n            7.07106781e-01,\r\n        ],\r\n        [\r\n            1.22464680e-16,\r\n            8.65956056e-17,\r\n            7.49879891e-33,\r\n            -8.65956056e-17,\r\n            -1.22464680e-16,\r\n            -8.65956056e-17,\r\n            -2.24963967e-32,\r\n            8.65956056e-17,\r\n            1.22464680e-16,\r\n        ],\r\n    ]\r\n)\r\ny = np.array(\r\n    [\r\n        [0, 0, 0, 0, 0, -0, -0, -0, 0],\r\n        [0, 0.5, 7.07106781e-01, 0.5, 8.65956056e-17, -0.5, -7.07106781e-01, -0.5, 0],\r\n        [\r\n            0,\r\n            7.07106781e-01,\r\n            1,\r\n            7.07106781e-01,\r\n            1.22464680e-16,\r\n            -7.07106781e-01,\r\n            -1,\r\n            -7.07106781e-01,\r\n            0,\r\n        ],\r\n        [0, 0.5, 7.07106781e-01, 0.5, 8.65956056e-17, -0.5, -7.07106781e-01, -0.5, 0],\r\n        [\r\n            0,\r\n            8.65956056e-17,\r\n            1.22464680e-16,\r\n            8.65956056e-17,\r\n            1.49975978e-32,\r\n            -8.65956056e-17,\r\n            -1.22464680e-16,\r\n            -8.65956056e-17,\r\n            0,\r\n        ],\r\n    ]\r\n)\r\nz = np.array(\r\n    [\r\n        [1, 1, 1, 1, 1, 1, 1, 1, 1],\r\n        [\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n            7.07106781e-01,\r\n        ],\r\n        [\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n            6.12323400e-17,\r\n        ],\r\n        [\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n            -7.07106781e-01,\r\n        ],\r\n        [-1, -1, -1, -1, -1, -1, -1, -1, -1],\r\n    ]\r\n)\r\ndata = [Surface(x=x, y=y, z=z, surfacecolor=np.ones(x.shape), opacity=0.99999)]\r\nfig = Figure(data=data)\r\nfig.show()\r\n```\r\n\r\nsorry about the numbers, they've been generated by some external library\r\n\r\nmy actual use case is like this where there are weird lines appearing on the plot by setting opacity\r\n![image](https://user-images.githubusercontent.com/15052188/89465483-16f6ce00-d76a-11ea-91db-a05511cb3405.png)\r\n","author":{"url":"https://github.com/paddyroddy","@type":"Person","name":"paddyroddy"},"datePublished":"2020-08-05T21:23:08Z","url":"https://github.com/plotly/plotly.py/issues/2690"}

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:836d51a3-f3ed-6c58-b328-db73fc6be4d2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC078:CE438:7CDC3D:A7B60C:6B01BBF2
html-safe-nonce644e7483fe615e7895198f7a530709c8aee77528afb60dc3b015096f3922f90e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDc4OkNFNDM4OjdDREMzRDpBN0I2MEM6NkIwMUJCRjIiLCJ2aXNpdG9yX2lkIjoiMTgyOTk4MDczMDc2NDE0NzY5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfe6750829a282bca70f27c9f9aca57bca80ee3a6fa4c597510a9d9d9f7bb0c45
hovercard-subject-tagissue:673856178
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/2690/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cbd3892ddd80342c7b1952b57b1fa3805923739e5b46798b9d45d316eb5506db/plotly/plotly.py/issues/2690
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cbd3892ddd80342c7b1952b57b1fa3805923739e5b46798b9d45d316eb5506db/plotly/plotly.py/issues/2690
og:image:altI need to adjust the opacity of a surface, so I can overlay two surfaces on top of each other (not sure how else to do that). But on a very small change from 1 to slightly below the look of the plo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepaddyroddy
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/2690#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F2690
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%2F2690
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/2690
Reloadhttps://github.com/plotly/plotly.py/issues/2690
Reloadhttps://github.com/plotly/plotly.py/issues/2690
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 requests83 (83)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/2690
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/2690
slight change in surface opacity changes image completelyhttps://github.com/plotly/plotly.py/issues/2690#top
https://github.com/paddyroddy
paddyroddyhttps://github.com/paddyroddy
on Aug 5, 2020https://github.com/plotly/plotly.py/issues/2690#issue-673856178
https://user-images.githubusercontent.com/15052188/89465012-5375fa00-d769-11ea-80a7-838a9e07fa72.png
https://user-images.githubusercontent.com/15052188/89465026-5a047180-d769-11ea-9608-644726448902.png
https://user-images.githubusercontent.com/15052188/89465483-16f6ce00-d76a-11ea-91db-a05511cb3405.png
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-669942970
@archmojhttps://github.com/archmoj
https://github.com/archmoj
archmojhttps://github.com/archmoj
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-669951832
@paddyroddyhttps://github.com/paddyroddy
https://github.com/paddyroddy
paddyroddyhttps://github.com/paddyroddy
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-669958910
https://user-images.githubusercontent.com/15052188/89542976-46541c00-d7f8-11ea-9c16-4ee9a921b911.png
https://user-images.githubusercontent.com/15052188/89543254-9b902d80-d7f8-11ea-8f8d-e22f4ba7eb79.png
https://github.com/archmoj
archmojhttps://github.com/archmoj
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-670029175
demohttps://codepen.io/MojtabaSamimi/pen/zYqxGxw?editors=0010
https://github.com/archmoj
archmojhttps://github.com/archmoj
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-670036455
plotly/plotly.js#4643https://github.com/plotly/plotly.js/pull/4643
https://github.com/paddyroddy
paddyroddyhttps://github.com/paddyroddy
on Aug 6, 2020https://github.com/plotly/plotly.py/issues/2690#issuecomment-670218906
demohttps://codepen.io/MojtabaSamimi/pen/zYqxGxw?editors=0010
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Jun 18, 2024https://github.com/plotly/plotly.py/issues/2690#issuecomment-2176446424
@gvwilsonhttps://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
completedhttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 18, 2024https://github.com/plotly/plotly.py/issues/2690#event-13203376017
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/2690
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/2690
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.