René's URL Explorer Experiment


Title: Add _repr_png_ and _repr_html_ to Colormap objects. by bdice · Pull Request #17888 · matplotlib/matplotlib · GitHub

Open Graph Title: Add _repr_png_ and _repr_html_ to Colormap objects. by bdice · Pull Request #17888 · matplotlib/matplotlib

X Title: Add _repr_png_ and _repr_html_ to Colormap objects. by bdice · Pull Request #17888 · matplotlib/matplotlib

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

Open Graph Description: PR Summary This PR adds _repr_png_ and _repr_html_ methods to the matplotlib.colors.Colormap class, enabling visual representations of Colormap objects in IPython / Jupyter settings. Demo Resolves...

X Description: PR Summary This PR adds _repr_png_ and _repr_html_ methods to the matplotlib.colors.Colormap class, enabling visual representations of Colormap objects in IPython / Jupyter settings. Demo Resolves...

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

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:48d93002-26a3-676d-5c13-2372d5456bca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE540:2BE11D:B6F3D:FC9FB:6A51CEDD
html-safe-noncee1aa6ee428b57ae4777ea99bbc1065d0dcd567780ec29a072e67c6b1ddf39fc8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTQwOjJCRTExRDpCNkYzRDpGQzlGQjo2QTUxQ0VERCIsInZpc2l0b3JfaWQiOiI2NzA1MzQwMDc4NTg2MTg3NDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac58edade0bb9ebbfd4bc605b496794f6fd6b3ec76ded83ebae48c0a85284c41e6
hovercard-subject-tagpull_request:447795049
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/17888/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d0b72e9e1572a73fd95173f0e0b565b62f897e092adaaa56a7a3388b5fb59dd6/matplotlib/matplotlib/pull/17888
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0b72e9e1572a73fd95173f0e0b565b62f897e092adaaa56a7a3388b5fb59dd6/matplotlib/matplotlib/pull/17888
og:image:altPR Summary This PR adds _repr_png_ and _repr_html_ methods to the matplotlib.colors.Colormap class, enabling visual representations of Colormap objects in IPython / Jupyter settings. Demo Resolves...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebdice
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/17888#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F17888
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%2F17888
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/17888
Reloadhttps://github.com/matplotlib/matplotlib/pull/17888
Reloadhttps://github.com/matplotlib/matplotlib/pull/17888
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
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
tacaswellhttps://github.com/tacaswell
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
bdice:colormap-reprhttps://github.com/bdice/matplotlib/tree/colormap-repr
Conversationhttps://github.com/matplotlib/matplotlib/pull/17888
Commits7 (7)https://github.com/matplotlib/matplotlib/pull/17888/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/17888/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/17888/files
Add _repr_png_ and _repr_html_ to Colormap objects.https://github.com/matplotlib/matplotlib/pull/17888#top
tacaswellhttps://github.com/tacaswell
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
bdice:colormap-reprhttps://github.com/bdice/matplotlib/tree/colormap-repr
https://github.com/bdice
bdicehttps://github.com/bdice
Jul 11, 2020https://github.com/matplotlib/matplotlib/pull/17888#issue-655247988
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://user-images.githubusercontent.com/3943761/87229990-420c1e80-c372-11ea-865e-d7f0f43757d3.png
#15616https://github.com/matplotlib/matplotlib/issues/15616
Flake 8http://flake8.pycqa.org/en/latest/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
bdicehttps://github.com/bdice
July 11, 2020 12:22https://github.com/matplotlib/matplotlib/pull/17888#commits-pushed-1cfb18b
https://github.com/bdice
Created _repr_png_ and _repr_html_ for Colormap objects.https://github.com/matplotlib/matplotlib/pull/17888/commits/1cfb18bbe864673500ad4d82a46d2409ab5e8b6c
1cfb18bhttps://github.com/matplotlib/matplotlib/pull/17888/commits/1cfb18bbe864673500ad4d82a46d2409ab5e8b6c
https://github.com/bdice
Add a border to clarify the boundary of the image.https://github.com/matplotlib/matplotlib/pull/17888/commits/d62cd5558419e0a4b40af63746064878b8aafea3
d62cd55https://github.com/matplotlib/matplotlib/pull/17888/commits/d62cd5558419e0a4b40af63746064878b8aafea3
https://github.com/bdice
Add tests for _repr_png_ and _repr_html_.https://github.com/matplotlib/matplotlib/pull/17888/commits/d3ca7e251846fa1f10ecd6b2ff8619fd6eee7a25
d3ca7e2https://github.com/matplotlib/matplotlib/pull/17888/commits/d3ca7e251846fa1f10ecd6b2ff8619fd6eee7a25
https://github.com/bdice
Added What's New entry.https://github.com/matplotlib/matplotlib/pull/17888/commits/34be66eb44719ef1c14998fb399f0c69f136ca32
34be66ehttps://github.com/matplotlib/matplotlib/pull/17888/commits/34be66eb44719ef1c14998fb399f0c69f136ca32
https://github.com/bdice
bdicehttps://github.com/bdice
July 11, 2020 17:49https://github.com/matplotlib/matplotlib/pull/17888#event-3536470488
bdicehttps://github.com/bdice
July 11, 2020 12:52https://github.com/matplotlib/matplotlib/pull/17888#commits-pushed-3da7fc4
https://github.com/bdice
Add PngInfo.https://github.com/matplotlib/matplotlib/pull/17888/commits/3da7fc44056cec24718a92820161fa0710a2c2fd
3da7fc4https://github.com/matplotlib/matplotlib/pull/17888/commits/3da7fc44056cec24718a92820161fa0710a2c2fd
https://github.com/bdice
Update PngInfo.https://github.com/matplotlib/matplotlib/pull/17888/commits/a490278f1127410ede1a4b5495f213be80749f76
a490278https://github.com/matplotlib/matplotlib/pull/17888/commits/a490278f1127410ede1a4b5495f213be80749f76
https://github.com/dopplershift
dopplershifthttps://github.com/dopplershift
Jul 11, 2020 https://github.com/matplotlib/matplotlib/pull/17888#pullrequestreview-446821155
View reviewed changes https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
dopplershifthttps://github.com/dopplershift
https://github.com/matplotlib/matplotlib/pull/17888#pullrequestreview-446821155
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/dopplershift
dopplershifthttps://github.com/dopplershift
v3.4.0https://github.com/matplotlib/matplotlib/milestone/53
Jul 11, 2020https://github.com/matplotlib/matplotlib/pull/17888#event-3536504851
https://github.com/dopplershift
dopplershifthttps://github.com/dopplershift
Jul 11, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657109866
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Jul 11, 2020 https://github.com/matplotlib/matplotlib/pull/17888#pullrequestreview-446828020
View reviewed changes https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
lib/matplotlib/tests/test_colors.pyhttps://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76#diff-0b4e2edcbe7e1f81d3c7e56ac45d89a3aa1c8481d9204b2c0f497b3261006a87
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 11, 2020 https://github.com/matplotlib/matplotlib/pull/17888#pullrequestreview-446828560
View reviewed changes https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
tacaswellhttps://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/17888#pullrequestreview-446828560
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Jul 11, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657128361
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Jul 11, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657134598
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657230466
@story645https://github.com/story645
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/bdice
Enforce stricter tests for _repr_png_.https://github.com/matplotlib/matplotlib/pull/17888/commits/9d4633874ddbf6939d75e0fd02d2a14a8da682f1
9d46338https://github.com/matplotlib/matplotlib/pull/17888/commits/9d4633874ddbf6939d75e0fd02d2a14a8da682f1
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657250635
@bdicehttps://github.com/bdice
@bdicehttps://github.com/bdice
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657252575
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657261752
https://matplotlib.org/3.2.2/tutorials/colors/colormaps.htmlhttps://matplotlib.org/3.2.2/tutorials/colors/colormaps.html
#17900https://github.com/matplotlib/matplotlib/pull/17900
@jklymakhttps://github.com/jklymak
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
068e0f4https://github.com/matplotlib/matplotlib/commit/068e0f441cf3137b022167d20c15eb1fb9b07469
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#event-3537350291
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 12, 2020https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-657262403
@bdicehttps://github.com/bdice
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/bdice
bdicehttps://github.com/bdice
Jul 12, 2020 https://github.com/matplotlib/matplotlib/pull/17888#ref-pullrequest-655450702
Add getters and _repr_html_ for over/under/bad values of Colormap objects. #17900 https://github.com/matplotlib/matplotlib/pull/17900
https://github.com/bdice
bdicehttps://github.com/bdice
July 12, 2020 19:26https://github.com/matplotlib/matplotlib/pull/17888#event-3537368842
https://github.com/story645
story645https://github.com/story645
Sep 16, 2020 https://github.com/matplotlib/matplotlib/pull/17888#ref-pullrequest-703133142
Add a dedicated ColormapRegistry class #18503 https://github.com/matplotlib/matplotlib/pull/18503
https://github.com/michaelosthege
michaelosthegehttps://github.com/michaelosthege
May 20, 2021https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-845253158
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
May 20, 2021https://github.com/matplotlib/matplotlib/pull/17888#issuecomment-845407158
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/tkoyama010
tkoyama010https://github.com/tkoyama010
Jul 18, 2022 https://github.com/matplotlib/matplotlib/pull/17888#ref-issue-1307211793
Feature to show the Color object in color bar pyvista/pyvista#3017 https://github.com/pyvista/pyvista/issues/3017
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%2F17888
https://github.com/timhoffm
timhoffm https://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
https://github.com/dopplershift
dopplershift https://github.com/dopplershift
https://github.com/matplotlib/matplotlib/pull/17888/files/a490278f1127410ede1a4b5495f213be80749f76
v3.4.0 https://github.com/matplotlib/matplotlib/milestone/53
Colormaps should have a _repr_html_ that is an image of the colormap https://github.com/matplotlib/matplotlib/issues/15616
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/17888
https://github.com/bdice
https://github.com/dopplershift
https://github.com/QuLogic
https://github.com/jklymak
https://github.com/tacaswell
https://github.com/michaelosthege
https://github.com/timhoffm
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.