René's URL Explorer Experiment


Title: Caching the results of Transform.transform_path for non-affine transforms by pelson · Pull Request #723 · matplotlib/matplotlib · GitHub

Open Graph Title: Caching the results of Transform.transform_path for non-affine transforms by pelson · Pull Request #723 · matplotlib/matplotlib

X Title: Caching the results of Transform.transform_path for non-affine transforms by pelson · Pull Request #723 · matplotlib/matplotlib

Description: This pull request supports the previously intended capability of caching non-affine transformations. It was discussed briefly on the devel mailing-list: http://old.nabble.com/Caching-the-results-of-Transform.transform_path-for-non-affine-transforms-td33256890.html An example of how to test this capability by hand was included on the thread: import matplotlib.transforms class SlowNonAffineTransform(matplotlib.transforms.Transform): input_dims = 2 output_dims = 2 is_separable = False has_inverse = True def transform(self, points): return matplotlib.transforms.IdentityTransform().transform(points) def transform_path(self, path): # pretends that it is doing something clever & time # consuming, but really is just sleeping import time # take a long time to do something time.sleep(3) # return the original path return matplotlib.transforms.IdentityTransform().transform_path(path) if __name__ == '__main__': import matplotlib.pyplot as plt ax = plt.axes() ax.plot([0, 10, 20], [1, 3, 2], transform=SlowNonAffineTransform() + ax.transData) plt.show()

Open Graph Description: This pull request supports the previously intended capability of caching non-affine transformations. It was discussed briefly on the devel mailing-list: http://old.nabble.com/Caching-the-results-of...

X Description: This pull request supports the previously intended capability of caching non-affine transformations. It was discussed briefly on the devel mailing-list: http://old.nabble.com/Caching-the-results-of...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:def90e8d-12fc-becd-57ea-808b2cce9d70
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA988:191DCC:70CE60:93E201:6A530A14
html-safe-nonce50730b10964b989b0670ee996a2c0a1870fcf6d1f0c20a3d4ed8bb6dac4aca90
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTg4OjE5MURDQzo3MENFNjA6OTNFMjAxOjZBNTMwQTE0IiwidmlzaXRvcl9pZCI6IjIzMjExODY5NzkyMzA5NzY1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2c31a6b50582ba7913b1d0b57ada1daa5e514b31f34336f450fe7f9beb19f614
hovercard-subject-tagpull_request:891680
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/723/files
twitter:imagehttps://avatars.githubusercontent.com/u/810663?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/810663?s=400&v=4
og:image:altThis pull request supports the previously intended capability of caching non-affine transformations. It was discussed briefly on the devel mailing-list: http://old.nabble.com/Caching-the-results-of...
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/723/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F723%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%2F723%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/723/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/723/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/723/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
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
pelsonhttps://github.com/pelson
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
pelson:path_transform_cachehttps://github.com/pelson/matplotlib/tree/path_transform_cache
Conversation 22 https://github.com/matplotlib/matplotlib/pull/723
Commits 9 https://github.com/matplotlib/matplotlib/pull/723/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/723/checks
Files changed https://github.com/matplotlib/matplotlib/pull/723/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
Caching the results of Transform.transform_path for non-affine transforms https://github.com/matplotlib/matplotlib/pull/723/files#top
Show all changes 9 commits https://github.com/matplotlib/matplotlib/pull/723/files
753c9a2 Single commit of necessary transform changes. Feb 28, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/753c9a2fb137e9e9f8cfae17025739a89c4a2522
c4ceace Fixed is_affine inheritance & added scatter test which highlighted th… Mar 6, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/c4ceace2019f7a23f586c3973ed40806d7fa8742
bf4dd97 Fixed failing unit test. (in test_axes) Mar 6, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/bf4dd97b19bfa948db2cd2a17c5bc2ec5b660750
4c88a6d Moved scatter test into test_axes.py Mar 20, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/4c88a6d43f36c455c36751a40f9b78816b24c013
c088477 Fixed broken handling of WrappedTransform Apr 20, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/c0884772332c011429a604d0ab0d04ab2f41a02c
1b1b340 Intermediate commit to request some assistance. Apr 20, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/1b1b340d7c11c0e52eb745ee9e6c99efe43851b3
e9cc98e Fixed __array__ releated bug that I introduced. May 1, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/e9cc98e3ef1b23c359feacca7994de57677c7c0a
c898bdf Improved comments. May 1, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/c898bdf8d9a989947a307ba61c7eddf2fc8dc709
a81545c Now working with rebased master. pelson Jun 7, 2012 https://github.com/matplotlib/matplotlib/pull/723/commits/a81545c216b1900a01b0394b1e75ffe1cbe0828b
Clear filters https://github.com/matplotlib/matplotlib/pull/723/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
backend_svg.py https://github.com/matplotlib/matplotlib/pull/723/files#diff-3f7115dd582045209a3ca182f43c29176d759914b187efec3991883c2487009e
scatter.pdf https://github.com/matplotlib/matplotlib/pull/723/files#diff-deac2cdd0053ccb8c077205a1928ef87ca31d647f3cd07794f058b72123f98ac
scatter.png https://github.com/matplotlib/matplotlib/pull/723/files#diff-c081cdfe84fb9cfb43190387e6936dfbe6f6a0824c6bce77932e7c0eb97d0f44
scatter.svg https://github.com/matplotlib/matplotlib/pull/723/files#diff-0ceda8a72d012d5bd1ec7b2755d168ab14821e2a168654f1ed328e633f71fcad
test_axes.py https://github.com/matplotlib/matplotlib/pull/723/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7
test_figure.py https://github.com/matplotlib/matplotlib/pull/723/files#diff-7c50aec0865ef6fceff6a5cb00d4b7e57d396ecbcd3546e5fb494aabed99af33
test_transforms.py https://github.com/matplotlib/matplotlib/pull/723/files#diff-9c604e3ebce77d5db7e7eb4a4f92a08a8fab56faa8646ecf952ed0a3ad7a233c
transforms.py https://github.com/matplotlib/matplotlib/pull/723/files#diff-501b7013d3efa42e08d1cc8dc7a27ee6944fcddb062cd7032249a0031bb01ff4
agg_py_transforms.cpp https://github.com/matplotlib/matplotlib/pull/723/files#diff-b3c679f16a2b533d1f89ad90d379be8bb39771c2fae4f813ea9a135a239b494d
lib/matplotlib/backends/backend_svg.pyhttps://github.com/matplotlib/matplotlib/pull/723/files#diff-3f7115dd582045209a3ca182f43c29176d759914b187efec3991883c2487009e
View file https://github.com/pelson/matplotlib/blob/a81545c216b1900a01b0394b1e75ffe1cbe0828b/lib/matplotlib/backends/backend_svg.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/723/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/723/files#diff-3f7115dd582045209a3ca182f43c29176d759914b187efec3991883c2487009e
pelsonhttps://github.com/pelson
Jun 7, 2012https://github.com/matplotlib/matplotlib/pull/723/files#r943993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
https://github.com/matplotlib/matplotlib/pull/723/files#diff-3f7115dd582045209a3ca182f43c29176d759914b187efec3991883c2487009e
lib/matplotlib/tests/baseline_images/test_axes/scatter.pdfhttps://github.com/matplotlib/matplotlib/pull/723/files#diff-deac2cdd0053ccb8c077205a1928ef87ca31d647f3cd07794f058b72123f98ac
View file https://github.com/pelson/matplotlib/blob/a81545c216b1900a01b0394b1e75ffe1cbe0828b/lib/matplotlib/tests/baseline_images/test_axes/scatter.pdf
Open in desktop https://desktop.github.com
lib/matplotlib/tests/baseline_images/test_axes/scatter.pnghttps://github.com/matplotlib/matplotlib/pull/723/files#diff-c081cdfe84fb9cfb43190387e6936dfbe6f6a0824c6bce77932e7c0eb97d0f44
View file https://github.com/pelson/matplotlib/blob/a81545c216b1900a01b0394b1e75ffe1cbe0828b/lib/matplotlib/tests/baseline_images/test_axes/scatter.png
Open in desktop https://desktop.github.com
Reload?https://github.com/matplotlib/matplotlib/pull/723/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/723/files
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.