| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7e4d7ed0-bee4-77b9-4d97-32f5c6f0b1f6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DDF4:D7A7C:1D5E99D:26D9958:6B068EEA |
| html-safe-nonce | d14af1a8a9cd785b4e76cf95ce8b2579c7c14cba3df438fbb54f6831ae230888 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREY0OkQ3QTdDOjFENUU5OUQ6MjZEOTk1ODo2QjA2OEVFQSIsInZpc2l0b3JfaWQiOiIzMTIwMTMxNjI0NTA0MDM3MDk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | de8c5b4c1354515ce33e750cf31dbb8e1ce3caad932b0af02128283cdd5c4e6f |
| hovercard-subject-tag | pull_request:18755182 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/3291/files |
| twitter:image | https://avatars.githubusercontent.com/u/906803?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/906803?s=400&v=4 |
| og:image:alt | Currently, colors.LightSource preforms "hillshading" through methods that appear visually unrealistic in some cases (particularly topographic surfaces). This pull request:
Refactors Li... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/3291/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F3291%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F3291%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 |
| Reload | https://github.com/matplotlib/matplotlib/pull/3291/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/3291/files |
| Reload | https://github.com/matplotlib/matplotlib/pull/3291/files |
| matplotlib | https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Code | https://github.com/matplotlib/matplotlib |
| Issues1k (1k) | https://github.com/matplotlib/matplotlib/issues |
| Pull requests429 (429) | 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/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose |
| jenshnielsen | https://github.com/jenshnielsen |
| matplotlib:master | https://github.com/matplotlib/matplotlib/tree/master |
| joferkington:lightsource-enhancements | https://github.com/joferkington/matplotlib/tree/lightsource-enhancements |
|
Conversation
27
| https://github.com/matplotlib/matplotlib/pull/3291 |
|
Commits
19
| https://github.com/matplotlib/matplotlib/pull/3291/commits |
|
Checks
0
| https://github.com/matplotlib/matplotlib/pull/3291/checks |
|
Files changed
| https://github.com/matplotlib/matplotlib/pull/3291/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/3291/files |
|
Lightsource enhancements
| https://github.com/matplotlib/matplotlib/pull/3291/files#top |
|
Show all changes
19 commits
| https://github.com/matplotlib/matplotlib/pull/3291/files |
|
ee99cf5
Refactored LightSource.shade_rgb into three separate functions
joferkington Jul 21, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/ee99cf589efc675cc524d70a15343f46b5293807 |
|
4faa454
Added support for vertical exag and non-uniform spacing to LightSource
joferkington Jul 21, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/4faa4548c4cf2af3dc7d028379a3146169d7b139 |
|
a1af495
Added new blending modes to LightSource for more realistic rendering
joferkington Jul 21, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/a1af495e106cda69c160e0d7b6ec02acd3d55537 |
|
ed5cd76
Updated shading example to show new styles and added exmaple DEM from…
joferkington Jul 22, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/ed5cd76d231a8279633bde02e6549350c005fa82 |
|
0db6341
Make the "fraction" kwarg behave as it did before recent LightSource …
joferkington Jul 23, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/0db6341ca220878f925df8b0fe230f81954766e9 |
|
52434ff
Strip whitespace and strict PEP8 compliance
joferkington Jul 23, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/52434ff91ab6ab31b09b14ee187a0fede11b049d |
|
108eac7
Avoid potential divide by zero in LightSource.hillshade
joferkington Jul 23, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/108eac73ecd256cb9728d54c2593cadac31cc650 |
|
f374383
Fix calculation of aspect for hillshading.
joferkington Jul 25, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/f37438332cf34680892148ba616cc5a411cd8325 |
|
3c9cacf
Make clipping work properly for effectively planar surfaces
joferkington Jul 25, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/3c9cacf5c16f7e177382ab31ceb7386453235a0a |
|
51e9a6c
Added tests for LightSource functionality
joferkington Jul 26, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/51e9a6cc51ded7f498115d8d7b2d8df53a9bafb4 |
|
31a4239
Added example of using the custom hillshading on a 3D surface plot
joferkington Jul 26, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/31a42396742419842dc9dd2e7f8fb94fe3ed52b2 |
|
b3e2e3d
PEP8 fixes
joferkington Jul 26, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/b3e2e3d93c9e58a8e7f0fb0e0aa0f629e098b1b7 |
|
bdbc7df
Avoid leaking file descriptors in tests and examples
joferkington Jul 26, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/bdbc7df2579b6fabf606c720d9646177541c0cc9 |
|
71cb786
Added more examples
joferkington Sep 26, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/71cb78653e490d01dee0cf41b69344087fb950ce |
|
4afed00
Fixed hillshading problems with masked elevation arrays
joferkington Sep 27, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/4afed00d7a90d07a958adf09c8b5ab81f7b52e67 |
|
abf8b87
Added array comparison tests for shaded relief
joferkington Sep 27, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/abf8b87a6a49fbdae3a18b9de4d2d8bc70b180eb |
|
ba1f492
Strict PEP8 compliance for printed arrays
joferkington Sep 27, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/ba1f492e796e3baa48f8a51df19e6d8e2e3a7cde |
|
ab40a2f
Added *vmin* and *vmax* arguments to LightSource.shade
joferkington Sep 27, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/ab40a2f2de9cfff9f48fdde7b62a29cdebc197b7 |
|
9fce26c
Added LightSource changes summary to CHANGELOG
joferkington Sep 27, 2014
| https://github.com/matplotlib/matplotlib/pull/3291/commits/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1 |
|
Clear filters
| https://github.com/matplotlib/matplotlib/pull/3291/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/3291/files |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/3291/files |
|
CHANGELOG
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-ecec88c33adb7591ee6aa88e29b62ad52ef443611cba5e0f0ecac9b5725afdba |
|
custom_shaded_3d_surface.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-14bf1001198a3473fc627f7eb16d5c38493876aab9096ad24aeae61fd2c2281a |
|
shading_example.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-c0068f2158c2a985541b4bfeaf19916d43d97bb227f60b777ce7ae9c2accece3 |
|
advanced_hillshading.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-2c5034229d8a3aef881491e275e71e592a79b1aff3922fe05b84bcac45245681 |
|
topographic_hillshading.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-950427da89ad1d6b3d5532aa27942fd69b9c1c95cc5b5c50e7e4e93e19c552a3 |
|
colors.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-3c08c967cdebbe0574ff68dceb5faba6cbb89ca53492e0fc3feeabc37cea37b6 |
|
jacksboro_fault_dem.npz
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-ddb1c9ad2ecbbf40247e51cb595ff0fc8a3c9fc6be2655a7c456ebfc09e6fe5d |
|
light_source_shading_topo.png
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-d67f0cc25ae09c3806930e86d1f55b4bfcd56eebf816d24b6cfaaba5930c899f |
|
test_colors.py
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-0b4e2edcbe7e1f81d3c7e56ac45d89a3aa1c8481d9204b2c0f497b3261006a87 |
| CHANGELOG | https://github.com/matplotlib/matplotlib/pull/3291/files#diff-ecec88c33adb7591ee6aa88e29b62ad52ef443611cba5e0f0ecac9b5725afdba |
|
View file
| https://github.com/joferkington/matplotlib/blob/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1/CHANGELOG |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/3291/{{ revealButtonHref }} |
|
| https://github.com/matplotlib/matplotlib/pull/3291/files#diff-ecec88c33adb7591ee6aa88e29b62ad52ef443611cba5e0f0ecac9b5725afdba |
| examples/mplot3d/custom_shaded_3d_surface.py | https://github.com/matplotlib/matplotlib/pull/3291/files#diff-14bf1001198a3473fc627f7eb16d5c38493876aab9096ad24aeae61fd2c2281a |
|
View file
| https://github.com/joferkington/matplotlib/blob/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1/examples/mplot3d/custom_shaded_3d_surface.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/3291/{{ revealButtonHref }} |
| examples/pylab_examples/shading_example.py | https://github.com/matplotlib/matplotlib/pull/3291/files#diff-c0068f2158c2a985541b4bfeaf19916d43d97bb227f60b777ce7ae9c2accece3 |
|
View file
| https://github.com/joferkington/matplotlib/blob/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1/examples/pylab_examples/shading_example.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/3291/{{ revealButtonHref }} |
| examples/specialty_plots/advanced_hillshading.py | https://github.com/matplotlib/matplotlib/pull/3291/files#diff-2c5034229d8a3aef881491e275e71e592a79b1aff3922fe05b84bcac45245681 |
|
View file
| https://github.com/joferkington/matplotlib/blob/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1/examples/specialty_plots/advanced_hillshading.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/3291/{{ revealButtonHref }} |
| examples/specialty_plots/topographic_hillshading.py | https://github.com/matplotlib/matplotlib/pull/3291/files#diff-950427da89ad1d6b3d5532aa27942fd69b9c1c95cc5b5c50e7e4e93e19c552a3 |
|
View file
| https://github.com/joferkington/matplotlib/blob/9fce26ce432c92d2fa0b0eeb14ec0e9dff3e29a1/examples/specialty_plots/topographic_hillshading.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/3291/{{ revealButtonHref }} |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/3291/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |