René's URL Explorer Experiment


Title: [Bug]: Fix 3D surface corruption on non-linear scales by masking invalid values by rahulrathnavel · Pull Request #31733 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: Fix 3D surface corruption on non-linear scales by masking invalid values by rahulrathnavel · Pull Request #31733 · matplotlib/matplotlib

X Title: [Bug]: Fix 3D surface corruption on non-linear scales by masking invalid values by rahulrathnavel · Pull Request #31733 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: PR summary Closes #31726 Why is this change necessary & What problem does it solve? Currently, creating a 3D surface plot (ax.plot_surface) with a non-linear scale (e.g., ax.set_zscale('log...

X Description: PR summary Closes #31726 Why is this change necessary & What problem does it solve? Currently, creating a 3D surface plot (ax.plot_surface) with a non-linear scale (e.g., ax.set_zscale(&...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e0eb3b36-77a8-d38f-780e-4dd6b148f01c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD090:94837:90A98D:C39CD7:6A51E0AB
html-safe-nonce462076176c87311d9a378dd09146bfd800dbd7cc16256252e7a82064743e7305
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDkwOjk0ODM3OjkwQTk4RDpDMzlDRDc6NkE1MUUwQUIiLCJ2aXNpdG9yX2lkIjoiODg2MjMxMTYzNTc2MDU3MDUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf4ad101e7b03f741772300bb5f09236feda96b19d65f4c0f3d51e0aae4e26323
hovercard-subject-tagpull_request:3731933494
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/31733/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/605064f3d6d668a079aaf6c542de717b3fead74e75aa0f2a3876e1a823323a9d/matplotlib/matplotlib/pull/31733
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/605064f3d6d668a079aaf6c542de717b3fead74e75aa0f2a3876e1a823323a9d/matplotlib/matplotlib/pull/31733
og:image:altPR summary Closes #31726 Why is this change necessary & What problem does it solve? Currently, creating a 3D surface plot (ax.plot_surface) with a non-linear scale (e.g., ax.set_zscale('log...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerahulrathnavel
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/31733#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31733
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%2F31733
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/31733
Reloadhttps://github.com/matplotlib/matplotlib/pull/31733
Reloadhttps://github.com/matplotlib/matplotlib/pull/31733
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
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 409 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
rahulrathnavelhttps://github.com/rahulrathnavel
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
rahulrathnavel:fix-3d-log-negative-surfacehttps://github.com/rahulrathnavel/matplotlib/tree/fix-3d-log-negative-surface
Conversationhttps://github.com/matplotlib/matplotlib/pull/31733
Commits7 (7)https://github.com/matplotlib/matplotlib/pull/31733/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/31733/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/31733/files
[Bug]: Fix 3D surface corruption on non-linear scales by masking invalid valueshttps://github.com/matplotlib/matplotlib/pull/31733#top
rahulrathnavelhttps://github.com/rahulrathnavel
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
rahulrathnavel:fix-3d-log-negative-surfacehttps://github.com/rahulrathnavel/matplotlib/tree/fix-3d-log-negative-surface
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issue-4504527540
#31726https://github.com/matplotlib/matplotlib/issues/31726
#30980https://github.com/matplotlib/matplotlib/pull/30980
@scottshambaughhttps://github.com/scottshambaugh
#31306https://github.com/matplotlib/matplotlib/pull/31306
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
Fix 3D surface corruption with non-linear scales by masking invalid v…https://github.com/matplotlib/matplotlib/pull/31733/commits/cb8042decde5aa679f8a80af02af8e799a717c73
cb8042dhttps://github.com/matplotlib/matplotlib/pull/31733/commits/cb8042decde5aa679f8a80af02af8e799a717c73
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
topic: mplot3d https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20mplot3d%22
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#event-25862792932
https://github.com/scottshambaugh
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4521299516
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4521415002
@scottshambaughhttps://github.com/scottshambaugh
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026 23:31https://github.com/matplotlib/matplotlib/pull/31733#commits-pushed-e175f8c
https://github.com/rahulrathnavel
Fix TypeError by vectorizing val_in_range array checkshttps://github.com/matplotlib/matplotlib/pull/31733/commits/e175f8c0b8b1e21bf773fe7d5004dd691e069648
e175f8chttps://github.com/matplotlib/matplotlib/pull/31733/commits/e175f8c0b8b1e21bf773fe7d5004dd691e069648
https://github.com/rahulrathnavel
Fix W293 trailing whitespace on blank linehttps://github.com/matplotlib/matplotlib/pull/31733/commits/a4f7f338376b0ba5515fdf7de617d7bc4347b8d1
a4f7f33https://github.com/matplotlib/matplotlib/pull/31733/commits/a4f7f338376b0ba5515fdf7de617d7bc4347b8d1
https://github.com/scottshambaugh
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4521631437
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
per our policyhttps://matplotlib.org/devdocs/devel/contribute.html#use-of-generative-ai
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4521707108
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
per our policyhttps://matplotlib.org/devdocs/devel/contribute.html#use-of-generative-ai
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
rahulrathnavelhttps://github.com/rahulrathnavel
May 23, 2026 01:31https://github.com/matplotlib/matplotlib/pull/31733#commits-pushed-6503bdc
https://github.com/rahulrathnavel
Refactor scale masking into helper function and add testshttps://github.com/matplotlib/matplotlib/pull/31733/commits/6503bdc00beb19eecc5ede8b61a52fecf3775f80
6503bdchttps://github.com/matplotlib/matplotlib/pull/31733/commits/6503bdc00beb19eecc5ede8b61a52fecf3775f80
https://github.com/rahulrathnavel
Fix W293 trailing whitespace across refactored fileshttps://github.com/matplotlib/matplotlib/pull/31733/commits/3aab8480f08ea2389da1937a79705d10434e3134
3aab848https://github.com/matplotlib/matplotlib/pull/31733/commits/3aab8480f08ea2389da1937a79705d10434e3134
https://github.com/scottshambaugh
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026 https://github.com/matplotlib/matplotlib/pull/31733#pullrequestreview-4348567928
View reviewed changes https://github.com/matplotlib/matplotlib/pull/31733/files/3aab8480f08ea2389da1937a79705d10434e3134
scottshambaughhttps://github.com/scottshambaugh
https://github.com/matplotlib/matplotlib/pull/31733#pullrequestreview-4348567928
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
lib/mpl_toolkits/mplot3d/axes3d.pyhttps://github.com/matplotlib/matplotlib/pull/31733/files/3aab8480f08ea2389da1937a79705d10434e3134#diff-a67656224bfb26dc6de0a0f89e398cd6999377d1482aca3e867ee550ff05be57
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#discussion_r3290980036
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
lib/mpl_toolkits/mplot3d/tests/test_axes3d.pyhttps://github.com/matplotlib/matplotlib/pull/31733/files/3aab8480f08ea2389da1937a79705d10434e3134#diff-4ee7ef31076edd9e71963aba58f9dd2c4378ae337561908ebcc28113e765bd27
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
lib/mpl_toolkits/mplot3d/tests/test_axes3d.pyhttps://github.com/matplotlib/matplotlib/pull/31733/files/3aab8480f08ea2389da1937a79705d10434e3134#diff-4ee7ef31076edd9e71963aba58f9dd2c4378ae337561908ebcc28113e765bd27
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#discussion_r3290984984
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#discussion_r3291030343
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@scottshambaughhttps://github.com/scottshambaugh
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#discussion_r3291189169
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@scottshambaughhttps://github.com/scottshambaugh
@scottshambaughhttps://github.com/scottshambaugh
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#discussion_r3291292990
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@rahulrathnavelhttps://github.com/rahulrathnavel
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
rahulrathnavelhttps://github.com/rahulrathnavel
May 23, 2026 01:48https://github.com/matplotlib/matplotlib/pull/31733#commits-pushed-3cab332
https://github.com/rahulrathnavel
Update 3D log scale test to assert dropped polygonshttps://github.com/matplotlib/matplotlib/pull/31733/commits/3cab3324246b2adac95e1fd6b6c818af948ecbf4
3cab332https://github.com/matplotlib/matplotlib/pull/31733/commits/3cab3324246b2adac95e1fd6b6c818af948ecbf4
https://github.com/rahulrathnavel
Fix W293 trailing whitespace in 3D log scale testhttps://github.com/matplotlib/matplotlib/pull/31733/commits/acc5892b4e36739f85b5f13e6456b8f73341bcce
acc5892https://github.com/matplotlib/matplotlib/pull/31733/commits/acc5892b4e36739f85b5f13e6456b8f73341bcce
https://github.com/scottshambaugh
scottshambaughhttps://github.com/scottshambaugh
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4522855502
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#issuecomment-4522894318
@scottshambaughhttps://github.com/scottshambaugh
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026https://github.com/matplotlib/matplotlib/pull/31733#event-25870064326
https://github.com/rahulrathnavel
rahulrathnavelhttps://github.com/rahulrathnavel
May 22, 2026 21:44https://github.com/matplotlib/matplotlib/pull/31733#event-25870069685
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31733
https://github.com/scottshambaugh
scottshambaugh https://github.com/scottshambaugh
https://github.com/matplotlib/matplotlib/pull/31733/files/3aab8480f08ea2389da1937a79705d10434e3134
topic: mplot3d https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20mplot3d%22
[Bug]: Corruption of 3D surface plot at log scale with negative or zero values (v3.11.0rc2) https://github.com/matplotlib/matplotlib/issues/31726
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31733
https://github.com/rahulrathnavel
https://github.com/scottshambaugh
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.