{"id":13736869,"url":"https://github.com/xlhaw/wfmap","last_synced_at":"2025-12-14T08:55:58.390Z","repository":{"id":38850228,"uuid":"241114345","full_name":"xlhaw/wfmap","owner":"xlhaw","description":"WaferMap Visualization","archived":false,"fork":false,"pushed_at":"2022-11-01T02:52:21.000Z","size":25438,"stargazers_count":50,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-01T03:32:21.448Z","etag":null,"topics":["data-visualization","pandas","wafer"],"latest_commit_sha":null,"homepage":"https://wfmap.xlhaw.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlhaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-17T13:28:31.000Z","updated_at":"2025-08-16T01:16:59.000Z","dependencies_parsed_at":"2022-09-18T14:34:32.430Z","dependency_job_id":null,"html_url":"https://github.com/xlhaw/wfmap","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/xlhaw/wfmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlhaw%2Fwfmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlhaw%2Fwfmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlhaw%2Fwfmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlhaw%2Fwfmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlhaw","download_url":"https://codeload.github.com/xlhaw/wfmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlhaw%2Fwfmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27723857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","pandas","wafer"],"created_at":"2024-08-03T03:01:30.058Z","updated_at":"2025-12-14T08:55:58.350Z","avatar_url":"https://github.com/xlhaw.png","language":"Python","funding_links":[],"categories":["data analysis"],"sub_categories":[],"readme":"# WaferMap Visualization with Heatmap and Trend Charts\r\n\r\nThis package is built upon **_matplotlib_** \u0026 **_seaborn_**. It provides basic wafer heatmap for numerical \u0026 categorical variables, as well as highly customized trend charts regarding to different wafer shot map definitions. You can built your own wafermap on the top of the API provided.\r\n\r\n\u003e This package only tested under Windows, the aesthetics of charts might be slightly different under Mac/Linux.\r\n\r\n## Example Gallery\r\n\r\nThis gallery contains a selection of examples of the plots _**wfmap**_ created. _Basic Usages_ and _API Reference_ please refer to the [Online Docs](https://wfmap.ml).\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/DefectMap.png\" width=\"56.5%\"\u003e\u003c/img\u003e\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/WIF_Trend.png\" width=\"43.1%\"\u003e\u003c/img\u003e  \u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/WaferMap.png\" width=\"54.6%\"\u003e\u003c/img\u003e \u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/Twin_Trends.png\" width=\"44.4%\"\u003e\u003c/img\u003e \r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/IncomingMap.png\"\u003e\u003c/img\u003e \r\n\r\n## Installation\r\n\r\nTo install _**wfmap**_ via PyPI using pip:\r\n\r\n```bash\r\npip install wfmap\r\n```\r\n\r\nor build the latest release from Github:\r\n\r\n```bash\r\ngit clone https://github.com/xlhaw/wfmap.git\r\ncd wfmap\r\npython setup.py install\r\n```\r\n\r\n## Basic Usage\r\n\r\nBefore you get started, please have a look at the definition used in this package for wafer mapping. You can modify it refer to your own terminology.\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/definition.png\"\u003e\u003c/img\u003e\r\n\r\nSample data is shipped within this package, you can load it as following snippet:\r\n\r\n```python\r\nfrom wfmap.data import load_data\r\ndata=load_data()\r\n```\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/DemoData.png\"\u003e\u003c/img\u003e\r\n\r\n### BasePlot\r\n\r\n`num_heatmap` and `cat_heatmap` are core functions used to generate `matplotlib.axes`, dealing with numerical \u0026 categorical variables respectively. Remain functions provides in packages return `matplotlib.figure.Figure` instead.\r\n\r\n```python\r\nfrom wfmap import num_heatmap,cat_heatmap\r\nfig,axs=plt.subplots(1,2,figsize=(8,3))\r\n_=num_heatmap(data,'MRR',ax=axs[0])\r\n_=cat_heatmap(data,'DEFECT',ax=axs[1])\r\n#fig.savefig('BasePlot.png',dpi=200)\r\n```\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/BasePlot.png\"\u003e\u003c/img\u003e\r\n\r\n### WaferMap\r\n\r\nWaferMap is a customized plot for numerical variables built with `num_heatmap`, beside the basic heatmap, an horizontal distribution plot sits along with the colorbar. For full details please refer to the [API Reference](https://wfmap.ml).\r\n\r\n```python\r\nfrom wfmap import wafermap\r\nfig=wafermap(data,'HDI_R',wtype='UP3')\r\n```\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/WaferMap.png\"\u003e\u003c/img\u003e\r\n\r\n\r\n### DefectMap\r\n\r\nDefectMap is a customized plot for categorical variables using `cat_heatmap`, which put additional pareto histogram and pie chart aside. For full details please refer to the `API Reference`.\r\n\r\n```python\r\nfrom wfmap import defectmap\r\nfig=defectmap(data,'DEFECT')\r\n```\r\n\r\n\u003cimg src=\"https://raw.githubusercontent.com/xlhaw/wfmap/master/docs/img/DefectMap.png\"\u003e\u003c/img\u003e\r\n\r\n\r\n\r\n## License\r\n\r\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fxlhaw%2Fwfmap.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fxlhaw%2Fwfmap?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlhaw%2Fwfmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlhaw%2Fwfmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlhaw%2Fwfmap/lists"}