René's URL Explorer Experiment


Title: Fix depth shading on 3D scatterplots by scottshambaugh · Pull Request #29287 · matplotlib/matplotlib · GitHub

Open Graph Title: Fix depth shading on 3D scatterplots by scottshambaugh · Pull Request #29287 · matplotlib/matplotlib

X Title: Fix depth shading on 3D scatterplots by scottshambaugh · Pull Request #29287 · matplotlib/matplotlib

Description: PR summary Replaces #23085, which was orphaned Closes #22861 This PR has a few changes: It fixes the linked issue where depthshading is applied inconsistently on 3D scatter plots, leading to some edge cases with discontinuities in appearance. It adds a keyword argument dephshade_minalpha to control the minimum opacity of the depthshading. The defaults for depthshade and depthshade_minalpha arguments are now controlled with rcparams. The commits are broken up by authorship so please don't squash when merging. PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested Plotting related features are demonstrated in an example New Features and API Changes are noted with a directive and release note Documentation complies with general and docstring guidelines

Open Graph Description: PR summary Replaces #23085, which was orphaned Closes #22861 This PR has a few changes: It fixes the linked issue where depthshading is applied inconsistently on 3D scatter plots, leading to some ...

X Description: PR summary Replaces #23085, which was orphaned Closes #22861 This PR has a few changes: It fixes the linked issue where depthshading is applied inconsistently on 3D scatter plots, leading to some ...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/29287

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3b1fdd95-1477-025d-bb37-9dd6d7211021
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9194:171DD4:16770F2:1DF2A47:6A52B2E3
html-safe-noncea119fd68552de2be87cb9c8017871b6601b8705f3e4ee7675410390b86d64b25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTk0OjE3MURENDoxNjc3MEYyOjFERjJBNDc6NkE1MkIyRTMiLCJ2aXNpdG9yX2lkIjoiNTkyODY4NDc4NDU4MjgzMjg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9dae9f48a52ada5d5891cbcd21b61348058042dbece318795b63994a18f88d6c
hovercard-subject-tagpull_request:2230067414
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/matplotlib/matplotlib/pull/29287/files
twitter:imagehttps://avatars.githubusercontent.com/u/14363975?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14363975?s=400&v=4
og:image:altPR summary Replaces #23085, which was orphaned Closes #22861 This PR has a few changes: It fixes the linked issue where depthshading is applied inconsistently on 3D scatter plots, leading to some ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/29287/changes#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F29287%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F29287%2Ffiles
Sign up https://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=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/29287/changes
Reloadhttps://github.com/matplotlib/matplotlib/pull/29287/changes
Reloadhttps://github.com/matplotlib/matplotlib/pull/29287/changes
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
scottshambaughhttps://github.com/scottshambaugh
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
scottshambaugh:scatter3d_shadinghttps://github.com/scottshambaugh/matplotlib/tree/scatter3d_shading
Conversation 38 https://github.com/matplotlib/matplotlib/pull/29287
Commits 6 https://github.com/matplotlib/matplotlib/pull/29287/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/29287/checks
Files changed https://github.com/matplotlib/matplotlib/pull/29287/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
Fix depth shading on 3D scatterplots https://github.com/matplotlib/matplotlib/pull/29287/changes#top
Show all changes 6 commits https://github.com/matplotlib/matplotlib/pull/29287/files
d0c8011 Update art3d.py May 21, 2022 https://github.com/matplotlib/matplotlib/pull/29287/commits/d0c8011e7dce6aa80b9058e013f7bbe5f442afbb
f772eeb Improvements for depth-shading nhansendev Nov 29, 2023 https://github.com/matplotlib/matplotlib/pull/29287/commits/f772eeb7c9cd27fbae0d3f6be75ab9bba44c6da5
d5562e9 Complete rework of 3D depthshading scottshambaugh Dec 13, 2024 https://github.com/matplotlib/matplotlib/pull/29287/commits/d5562e9e5f0306bed983573c20b1619c7fa4b350
9a62494 Make axes3d.depthshade and axes3d.depthshade_minalpha rcparams scottshambaugh Dec 21, 2024 https://github.com/matplotlib/matplotlib/pull/29287/commits/9a62494da959cea9d737573273f3017ff497902e
2d73765 Apply suggestions from code review scottshambaugh Jan 24, 2025 https://github.com/matplotlib/matplotlib/pull/29287/commits/2d73765080a3f19ae415c299fd5e457681912c22
73b3b08 versionadded indicators scottshambaugh Jan 30, 2025 https://github.com/matplotlib/matplotlib/pull/29287/commits/73b3b080b937c99e9fadacfd900c39e99474dbc7
Clear filters https://github.com/matplotlib/matplotlib/pull/29287/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
depthshading_improvement.rst https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-ee7a94f06465d7bc21c309f4ef6fc78dcdee65f7a3be56062ab9011e2333761b
matplotlibrc https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-a0a69cd98f33d9fb3baf223328f438ec91c6e3051737cafe2afc85cf20268c79
classic.mplstyle https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-791c860253879802fbe1dfd42cd66eb0fb1b0509dbaf66900317e6c9efd20085
rcsetup.py https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-cbdeb0e4217c66c0eab3ff5027da14906cb705419722f8269bc9ccaadd2422b1
art3d.py https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-21a889bd7f4e011757170a6a94b732dc543121b7580141ea5f9e82132c5f1c9f
axes3d.py https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-a67656224bfb26dc6de0a0f89e398cd6999377d1482aca3e867ee550ff05be57
quiver3d.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-b7401fad20bcf42f09d6a0b628df1ca988adf27a7af59d57b276a2bcd25bed5a
scatter3d.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-d7fa6c6ce5323c626931a8879accd50f31fb9f63e6a574a36c084854abe45ccc
scatter3d_color.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-2af1f2d033e61fd6e1f3788f177afdceda28f665120a8393845f325e03ae5f81
scatter3d_linewidth.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-4f55053a8472bee4d10c7b26abe093258b7222c4062a06ce271b01f72ac7d8b7
scatter_spiral.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-4d9692bcc4ea3e266a2927e929ba56b245472f8438ef62acca4cf024188fb03e
fancy.png https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-38689dae81134214f3f8ddea87116149355e4b1d1c8e961a0fa9fecc26aaa33f
test_axes3d.py https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-4ee7ef31076edd9e71963aba58f9dd2c4378ae337561908ebcc28113e765bd27
doc/users/next_whats_new/depthshading_improvement.rsthttps://github.com/matplotlib/matplotlib/pull/29287/changes#diff-ee7a94f06465d7bc21c309f4ef6fc78dcdee65f7a3be56062ab9011e2333761b
View file https://github.com/scottshambaugh/matplotlib/blob/73b3b080b937c99e9fadacfd900c39e99474dbc7/doc/users/next_whats_new/depthshading_improvement.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/29287/{{ revealButtonHref }}
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
lib/matplotlib/mpl-data/matplotlibrchttps://github.com/matplotlib/matplotlib/pull/29287/changes#diff-a0a69cd98f33d9fb3baf223328f438ec91c6e3051737cafe2afc85cf20268c79
View file https://github.com/scottshambaugh/matplotlib/blob/73b3b080b937c99e9fadacfd900c39e99474dbc7/lib/matplotlib/mpl-data/matplotlibrc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/29287/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-a0a69cd98f33d9fb3baf223328f438ec91c6e3051737cafe2afc85cf20268c79
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-a0a69cd98f33d9fb3baf223328f438ec91c6e3051737cafe2afc85cf20268c79
lib/matplotlib/mpl-data/stylelib/classic.mplstylehttps://github.com/matplotlib/matplotlib/pull/29287/changes#diff-791c860253879802fbe1dfd42cd66eb0fb1b0509dbaf66900317e6c9efd20085
View file https://github.com/scottshambaugh/matplotlib/blob/73b3b080b937c99e9fadacfd900c39e99474dbc7/lib/matplotlib/mpl-data/stylelib/classic.mplstyle
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/29287/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-791c860253879802fbe1dfd42cd66eb0fb1b0509dbaf66900317e6c9efd20085
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-791c860253879802fbe1dfd42cd66eb0fb1b0509dbaf66900317e6c9efd20085
lib/matplotlib/rcsetup.pyhttps://github.com/matplotlib/matplotlib/pull/29287/changes#diff-cbdeb0e4217c66c0eab3ff5027da14906cb705419722f8269bc9ccaadd2422b1
View file https://github.com/scottshambaugh/matplotlib/blob/73b3b080b937c99e9fadacfd900c39e99474dbc7/lib/matplotlib/rcsetup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/29287/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-cbdeb0e4217c66c0eab3ff5027da14906cb705419722f8269bc9ccaadd2422b1
https://github.com/matplotlib/matplotlib/pull/29287/changes#diff-cbdeb0e4217c66c0eab3ff5027da14906cb705419722f8269bc9ccaadd2422b1
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/29287/changes
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.