René's URL Explorer Experiment


Title: "Cannot convert argument type %s to rgba array" % type(c)) · Issue #2 · cylance/IntroductionToMachineLearningForSecurityPros · GitHub

Open Graph Title: "Cannot convert argument type %s to rgba array" % type(c)) · Issue #2 · cylance/IntroductionToMachineLearningForSecurityPros

X Title: "Cannot convert argument type %s to rgba array" % type(c)) · Issue #2 · cylance/IntroductionToMachineLearningForSecurityPros

Description: In visualize_vectors.py on line 16 the third paramater zs passed to plt.scatter() causes and exception to be thrown when trying to convert to an rgba array. I was able to resolve this issue with minor fixes. Python Version: 2.7.12 Matplo...

Open Graph Description: In visualize_vectors.py on line 16 the third paramater zs passed to plt.scatter() causes and exception to be thrown when trying to convert to an rgba array. I was able to resolve this issue with mi...

X Description: In visualize_vectors.py on line 16 the third paramater zs passed to plt.scatter() causes and exception to be thrown when trying to convert to an rgba array. I was able to resolve this issue with mi...

Opengraph URL: https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Cannot convert argument type %s to rgba array\" % type(c))","articleBody":"In `visualize_vectors.py` on line 16 the third paramater `zs` passed to `plt.scatter()` causes and exception to be thrown when trying to convert to an rgba array. I was able to resolve this issue with minor fixes.\r\n\r\nPython Version: 2.7.12\r\nMatplotlib Version: 1.5.1\r\nNumpy Version: 1.11.0\r\n\r\nException Thrown:\r\n\r\n\u003echris@chris-HP-EliteBook-820-G3:~/Projects/IntroductionToMachineLearningForSecurityPros/clustering_example$ python visualize_vectors.py -i secrepo.h5\r\n(10000, 3)\r\nTraceback (most recent call last):\r\n  File \"visualize_vectors.py\", line 32, in \u003cmodule\u003e\r\n    visualize(vectors)\r\n  File \"visualize_vectors.py\", line 17, in visualize\r\n    s=200,\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py\", line 3251, in scatter\r\n    edgecolors=edgecolors, data=data, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/mpl_toolkits/mplot3d/axes3d.py\", line 2273, in scatter\r\n    patches = Axes.scatter(self, xs, ys, s=s, c=c, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/__init__.py\", line 1814, in inner\r\n    return func(ax, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/axes/_axes.py\", line 3893, in scatter\r\n    alpha=alpha\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/collections.py\", line 831, in __init__\r\n    Collection.__init__(self, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/collections.py\", line 117, in __init__\r\n    self.set_facecolor(facecolors)\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/collections.py\", line 612, in set_facecolor\r\n    self._facecolors = mcolors.colorConverter.to_rgba_array(c, self._alpha)\r\n  File \"/usr/lib/python2.7/dist-packages/matplotlib/colors.py\", line 391, in to_rgba_array\r\n    \"Cannot convert argument type %s to rgba array\" % type(c))\r\n","author":{"url":"https://github.com/ajackal","@type":"Person","name":"ajackal"},"datePublished":"2018-03-09T22:47:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2/IntroductionToMachineLearningForSecurityPros/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dc034e75-4af0-2d0a-a2de-8003df6b8d27
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB120:1668CD:F5B779:147A435:6A52D1CB
html-safe-nonce4023af7dab2dfa4730e98b8e592976b7a0e36fd5d63ad2c45f1e416bce10e945
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTIwOjE2NjhDRDpGNUI3Nzk6MTQ3QTQzNTo2QTUyRDFDQiIsInZpc2l0b3JfaWQiOiI2ODM3NTAzNjQ4MjgyNjI4NTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac182f223f3baa8efc56534c6b92aa9f4a7a0706679ed4a7df5f84c7029b87c25d
hovercard-subject-tagissue:304004981
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/cylance/IntroductionToMachineLearningForSecurityPros/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1100f874768d035e34965aa0131ebab87dbecae02598c7bfa9ab68cde013c4d2/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1100f874768d035e34965aa0131ebab87dbecae02598c7bfa9ab68cde013c4d2/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
og:image:altIn visualize_vectors.py on line 16 the third paramater zs passed to plt.scatter() causes and exception to be thrown when trying to convert to an rgba array. I was able to resolve this issue with mi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameajackal
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/cylance/IntroductionToMachineLearningForSecurityPros git https://github.com/cylance/IntroductionToMachineLearningForSecurityPros.git
octolytics-dimension-user_id2954975
octolytics-dimension-user_logincylance
octolytics-dimension-repository_id99758261
octolytics-dimension-repository_nwocylance/IntroductionToMachineLearningForSecurityPros
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id99758261
octolytics-dimension-repository_network_root_nwocylance/IntroductionToMachineLearningForSecurityPros
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcylance%2FIntroductionToMachineLearningForSecurityPros%2Fissues%2F2
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%2Fcylance%2FIntroductionToMachineLearningForSecurityPros%2Fissues%2F2
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cylance%2FIntroductionToMachineLearningForSecurityPros
Reloadhttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
Reloadhttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
Reloadhttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
Please reload this pagehttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2
cylance https://github.com/cylance
IntroductionToMachineLearningForSecurityProshttps://github.com/cylance/IntroductionToMachineLearningForSecurityPros
Notifications https://github.com/login?return_to=%2Fcylance%2FIntroductionToMachineLearningForSecurityPros
Fork 59 https://github.com/login?return_to=%2Fcylance%2FIntroductionToMachineLearningForSecurityPros
Star 155 https://github.com/login?return_to=%2Fcylance%2FIntroductionToMachineLearningForSecurityPros
Code https://github.com/cylance/IntroductionToMachineLearningForSecurityPros
Issues 4 https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues
Pull requests 1 https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/pulls
Actions https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/actions
Projects https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/projects
Security and quality 0 https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/security
Insights https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/pulse
Code https://github.com/cylance/IntroductionToMachineLearningForSecurityPros
Issues https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues
Pull requests https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/pulls
Actions https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/actions
Projects https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/projects
Security and quality https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/security
Insights https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/pulse
"Cannot convert argument type %s to rgba array" % type(c))https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2#top
https://github.com/ajackal
ajackalhttps://github.com/ajackal
on Mar 9, 2018https://github.com/cylance/IntroductionToMachineLearningForSecurityPros/issues/2#issue-304004981
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.