René's URL Explorer Experiment


Title: Adds blitting plot by StephenNneji · Pull Request #156 · RascalSoftware/python-RAT · GitHub

Open Graph Title: Adds blitting plot by StephenNneji · Pull Request #156 · RascalSoftware/python-RAT

X Title: Adds blitting plot by StephenNneji · Pull Request #156 · RascalSoftware/python-RAT

Description: Adds a class to facilitate a blit plot in RasCAL, this class can be tested as shown below. The object creation should do a normal plot then subsequent updates will use blitting if the background has not changed. This leads to a decent speed up between the first draw and subsequent draws. class TestPlot: def __init__(self, block=False): self.block = block self.closed = False self.blit_plot = None def __enter__(self): self.figure = plt.subplots(1, 2)[0] self.figure.canvas.mpl_connect("close_event", self._setCloseState) self.figure.show() RATapi.events.register(RATapi.events.EventTypes.Plot, self.plotEvent) return self.figure def _setCloseState(self, _): self.closed = True def plotEvent(self, event): if not self.closed and self.figure.number in plt.get_fignums(): if self.blit_plot is None: self.blit_plot = PLotSLDWithBlitting(event, self.figure) else: self.blit_plot.update(event) def __exit__(self, _exc_type, _exc_val, _traceback): RATapi.events.clear(RATapi.events.EventTypes.Plot, self.plotEvent) if not self.closed and self.figure.number in plt.get_fignums(): plt.show(block=self.block) Usage will be with TestPlot(block=True): problem, results = DSPC_standard_layers()

Open Graph Description: Adds a class to facilitate a blit plot in RasCAL, this class can be tested as shown below. The object creation should do a normal plot then subsequent updates will use blitting if the background ha...

X Description: Adds a class to facilitate a blit plot in RasCAL, this class can be tested as shown below. The object creation should do a normal plot then subsequent updates will use blitting if the background ha...

Opengraph URL: https://github.com/RascalSoftware/python-RAT/pull/156

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e9ff1a1e-89a9-bb7c-2119-ac3fc4f1f019
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3F0:2B3115:F8CCE:1404BF:699207FD
html-safe-nonce98cd7abbdfb9508a94ffe62130da0c52242394ce16bf0d6b1086c98f7fe17325
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0YwOjJCMzExNTpGOENDRToxNDA0QkY6Njk5MjA3RkQiLCJ2aXNpdG9yX2lkIjoiNzMyNDQ4MTgyNzg2Mjg3NDEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac78c17d06c0183e28a7e06164a05f8d7d5211a0d357128e4c93de50e9cc97de8b
hovercard-subject-tagpull_request:2506513005
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/RascalSoftware/python-RAT/pull/156/files
twitter:imagehttps://avatars.githubusercontent.com/u/34302892?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/34302892?s=400&v=4
og:image:altAdds a class to facilitate a blit plot in RasCAL, this class can be tested as shown below. The object creation should do a normal plot then subsequent updates will use blitting if the background ha...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RascalSoftware/python-RAT git https://github.com/RascalSoftware/python-RAT.git
octolytics-dimension-user_id122092643
octolytics-dimension-user_loginRascalSoftware
octolytics-dimension-repository_id661644646
octolytics-dimension-repository_nwoRascalSoftware/python-RAT
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id661644646
octolytics-dimension-repository_network_root_nwoRascalSoftware/python-RAT
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RascalSoftware/python-RAT/pull/156/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRascalSoftware%2Fpython-RAT%2Fpull%2F156%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2FRascalSoftware%2Fpython-RAT%2Fpull%2F156%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=RascalSoftware%2Fpython-RAT
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/156/files
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/156/files
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/156/files
RascalSoftware https://github.com/RascalSoftware
python-RAThttps://github.com/RascalSoftware/python-RAT
Notifications https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Fork 4 https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Star 1 https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Code https://github.com/RascalSoftware/python-RAT
Issues 4 https://github.com/RascalSoftware/python-RAT/issues
Pull requests 1 https://github.com/RascalSoftware/python-RAT/pulls
Actions https://github.com/RascalSoftware/python-RAT/actions
Projects 0 https://github.com/RascalSoftware/python-RAT/projects
Security 0 https://github.com/RascalSoftware/python-RAT/security
Insights https://github.com/RascalSoftware/python-RAT/pulse
Code https://github.com/RascalSoftware/python-RAT
Issues https://github.com/RascalSoftware/python-RAT/issues
Pull requests https://github.com/RascalSoftware/python-RAT/pulls
Actions https://github.com/RascalSoftware/python-RAT/actions
Projects https://github.com/RascalSoftware/python-RAT/projects
Security https://github.com/RascalSoftware/python-RAT/security
Insights https://github.com/RascalSoftware/python-RAT/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRascalSoftware%2Fpython-RAT%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT%2Fissues%2Fnew%2Fchoose
StephenNnejihttps://github.com/StephenNneji
RascalSoftware:mainhttps://github.com/RascalSoftware/python-RAT/tree/main
StephenNneji:blittinghttps://github.com/StephenNneji/python-RAT/tree/blitting
Conversation 11 https://github.com/RascalSoftware/python-RAT/pull/156
Commits 2 https://github.com/RascalSoftware/python-RAT/pull/156/commits
Checks 7 https://github.com/RascalSoftware/python-RAT/pull/156/checks
Files changed https://github.com/RascalSoftware/python-RAT/pull/156/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/156/files
Adds blitting plot https://github.com/RascalSoftware/python-RAT/pull/156/files#top
Show all changes 2 commits https://github.com/RascalSoftware/python-RAT/pull/156/files
3821066 Adds blitting plot StephenNneji May 8, 2025 https://github.com/RascalSoftware/python-RAT/pull/156/commits/3821066d01bef7ce1d7790cbed66508b70e39a67
2517ce6 Addresses review comments StephenNneji May 9, 2025 https://github.com/RascalSoftware/python-RAT/pull/156/commits/2517ce6f5fd0ad99ab77316fec5e959c183a36a1
Clear filters https://github.com/RascalSoftware/python-RAT/pull/156/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/156/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/156/files
plotting.py https://github.com/RascalSoftware/python-RAT/pull/156/files#diff-2e3e35434ff217d67b0b822c2d3b2e6c2a14b75e51e20a6e430327e9a1624854
test_plotting.py https://github.com/RascalSoftware/python-RAT/pull/156/files#diff-b8aa68d38b59341f74e2277bc6fde44b917d597363ebfd7bf613743d7098a7ca
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/156/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.