René's URL Explorer Experiment


Title: Colormap to scatter_colored · Issue #365 · lava/matplotlib-cpp · GitHub

Open Graph Title: Colormap to scatter_colored · Issue #365 · lava/matplotlib-cpp

X Title: Colormap to scatter_colored · Issue #365 · lava/matplotlib-cpp

Description: I've added a new version of the scatter_colored function to manage the colormap. It would be great if I could push this! template bool scatter_colored(const std::vector

Open Graph Description: I've added a new version of the scatter_colored function to manage the colormap. It would be great if I could push this! template bool ...

X Description: I've added a new version of the scatter_colored function to manage the colormap. It would be great if I could push this! template<typename NumericX, typename NumericY, typename NumericColors...

Opengraph URL: https://github.com/lava/matplotlib-cpp/issues/365

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Colormap to scatter_colored","articleBody":"I've added a new version of the _scatter_colored_ function to manage the colormap. It would be great if I could push this!\r\n\r\n```\r\ntemplate\u003ctypename NumericX, typename NumericY, typename NumericColors\u003e\r\n    bool scatter_colored(const std::vector\u003cNumericX\u003e\u0026 x,\r\n                 const std::vector\u003cNumericY\u003e\u0026 y,\r\n                 const std::vector\u003cNumericColors\u003e\u0026 colors,\r\n                 const double s=1.0, // The marker size in points**2\r\n                 const std::string\u0026 cmap=\"hsv\",\r\n                 const std::map\u003cstd::string, std::string\u003e \u0026 keywords = {})\r\n    {\r\n        detail::_interpreter::get();\r\n\r\n        assert(x.size() == y.size());\r\n\r\n        PyObject* xarray = detail::get_array(x);\r\n        PyObject* yarray = detail::get_array(y);\r\n        PyObject* colors_array = detail::get_array(colors);\r\n        PyObject* cm = PyString_FromString(cmap.c_str());\r\n\r\n        PyObject* kwargs = PyDict_New();\r\n        PyDict_SetItemString(kwargs, \"s\", PyLong_FromLong(s));\r\n        PyDict_SetItemString(kwargs, \"c\", colors_array);\r\n        PyDict_SetItemString(kwargs, \"cmap\", cm);\r\n\r\n        for (const auto\u0026 it : keywords)\r\n        {\r\n            PyDict_SetItemString(kwargs, it.first.c_str(), PyString_FromString(it.second.c_str()));\r\n        }\r\n\r\n        PyObject* plot_args = PyTuple_New(2);\r\n        PyTuple_SetItem(plot_args, 0, xarray);\r\n        PyTuple_SetItem(plot_args, 1, yarray);\r\n\r\n        PyObject* res = PyObject_Call(detail::_interpreter::get().s_python_function_scatter, plot_args, kwargs);\r\n\r\n        Py_DECREF(plot_args);\r\n        Py_DECREF(kwargs);\r\n        if(res) Py_DECREF(res);\r\n\r\n        return res;\r\n    }\r\n    ","author":{"url":"https://github.com/Nicoskin","@type":"Person","name":"Nicoskin"},"datePublished":"2024-11-10T07:43:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/365/matplotlib-cpp/issues/365"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5ad3b277-b4a2-a43c-7e33-78636a7e0891
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC452:2E9694:326FCEC:45C9C16:6977C563
html-safe-noncedf0316e02260e57d22f1182d98c9a01d55dddb72a379c9f89afcf1d856ecee6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDUyOjJFOTY5NDozMjZGQ0VDOjQ1QzlDMTY6Njk3N0M1NjMiLCJ2aXNpdG9yX2lkIjoiNDg3NDkwODk4MzYyNzMzNTAxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7bfb1472ea9aa3488e2263060d6751bc9a29bed788c307ff09d40fabbf61fb32
hovercard-subject-tagissue:2646957064
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lava/matplotlib-cpp/365/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b11e798268ddf42dfe1ea8af31d31c35f074b28305b1c24d20d5a342498f2703/lava/matplotlib-cpp/issues/365
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b11e798268ddf42dfe1ea8af31d31c35f074b28305b1c24d20d5a342498f2703/lava/matplotlib-cpp/issues/365
og:image:altI've added a new version of the scatter_colored function to manage the colormap. It would be great if I could push this! template bool ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNicoskin
hostnamegithub.com
expected-hostnamegithub.com
Nonedd7783bd9901db88bac6bc215af7f020bc205a04ebc67e6c7def882ef2859ecd
turbo-cache-controlno-preview
go-importgithub.com/lava/matplotlib-cpp git https://github.com/lava/matplotlib-cpp.git
octolytics-dimension-user_id51410
octolytics-dimension-user_loginlava
octolytics-dimension-repository_id24936365
octolytics-dimension-repository_nwolava/matplotlib-cpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24936365
octolytics-dimension-repository_network_root_nwolava/matplotlib-cpp
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
release5d30081a77a5d66860584073cb38fd98fd7f9388
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues/365#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flava%2Fmatplotlib-cpp%2Fissues%2F365
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flava%2Fmatplotlib-cpp%2Fissues%2F365
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lava%2Fmatplotlib-cpp
Reloadhttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues/365
Reloadhttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues/365
Reloadhttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues/365
lava https://patch-diff.githubusercontent.com/lava
matplotlib-cpphttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flava%2Fmatplotlib-cpp
Fork 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2Flava%2Fmatplotlib-cpp
Star 4.7k https://patch-diff.githubusercontent.com/login?return_to=%2Flava%2Fmatplotlib-cpp
Code https://patch-diff.githubusercontent.com/lava/matplotlib-cpp
Issues 191 https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues
Pull requests 32 https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/pulls
Actions https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/actions
Projects 0 https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/projects
Wiki https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/wiki
Security 0 https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/security
Insights https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/pulse
Code https://patch-diff.githubusercontent.com/lava/matplotlib-cpp
Issues https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues
Pull requests https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/pulls
Actions https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/actions
Projects https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/projects
Wiki https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/wiki
Security https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/security
Insights https://patch-diff.githubusercontent.com/lava/matplotlib-cpp/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/lava/matplotlib-cpp/issues/365
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/lava/matplotlib-cpp/issues/365
Colormap to scatter_coloredhttps://patch-diff.githubusercontent.com/lava/matplotlib-cpp/issues/365#top
https://github.com/Nicoskin
https://github.com/Nicoskin
Nicoskinhttps://github.com/Nicoskin
on Nov 10, 2024https://github.com/lava/matplotlib-cpp/issues/365#issue-2646957064
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.