{"id":18041190,"url":"https://github.com/bskinn/mpl-kaleidagraph","last_synced_at":"2025-10-25T06:30:58.742Z","repository":{"id":102830421,"uuid":"194929596","full_name":"bskinn/mpl-kaleidagraph","owner":"bskinn","description":"matplotlib style file to mimic Kaleidagraph line/scatter plots","archived":false,"fork":false,"pushed_at":"2019-07-02T21:30:51.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-18T06:48:39.175Z","etag":null,"topics":["matplotlib","matplotlib-style-sheets"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/bskinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-07-02T20:21:38.000Z","updated_at":"2024-09-19T21:48:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ef5286b-e8fd-47ca-b950-ee932d3b2f60","html_url":"https://github.com/bskinn/mpl-kaleidagraph","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fmpl-kaleidagraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fmpl-kaleidagraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fmpl-kaleidagraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fmpl-kaleidagraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bskinn","download_url":"https://codeload.github.com/bskinn/mpl-kaleidagraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238093103,"owners_count":19415166,"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","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":["matplotlib","matplotlib-style-sheets"],"created_at":"2024-10-30T15:08:46.671Z","updated_at":"2025-10-25T06:30:58.159Z","avatar_url":"https://github.com/bskinn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpl-kaleidagraph\n\nmatplotlib style file created to mimic Kaleidagraph line/scatter plots.\n\n\n## Sample Kaleidagraph Plot\n\n\u003cimg src=\"https://github.com/bskinn/mpl-kaleidagraph/raw/master/images/kal.png\" alt=\"Sample Kaleidagraph Plot\" width=\"500px\"\u003e\n\n\n## matplotlib Replica\n\n*(artificial datasets constructed to resemble the originals)*\n\n\u003cimg src=\"https://github.com/bskinn/mpl-kaleidagraph/raw/master/images/mpl.png\" alt=\"matplotlib Replica\" width=\"500px\"\u003e\n\n\n## Jupyter Code\n\n```\nfrom pathlib import Path\nfrom random import random\n\nimport numpy as np\n\n%matplotlib inline\nimport matplotlib.pyplot as plt\nfrom matplotlib.ticker import MultipleLocator\n\n\nplt.style.use(str(Path('C:\\\\') / ... / 'kaleida.mplstyle'))\n\n\nxdata1 = np.arange(0, 193, 7)\nydata1 = 250 * np.exp(-0.15 * (xdata1 / 60))\nydata1_noisy = np.array([(0.99 + 0.02 * random()) * _ for _ in ydata1])\n\nxdata2 = np.arange(0, 160, 7)\nydata2 = 250 * np.exp(-0.55 * (xdata2 / 60))\nydata2_noisy = np.array([(0.99 + 0.03 * random()) * _ for _ in ydata2])\n\n\nplt.plot(xdata1, ydata1)\nplt.plot(xdata1, ydata1_noisy, 'o', label=\"Base\")\n\nplt.plot(xdata2, ydata2)\nplt.plot(xdata2, ydata2_noisy, 's', label=\"Tubing\")\n\nplt.xlabel('Time (min)')\nplt.ylabel('O$_2$ Concentration ($\\mathrm{\\mu}$M)')\n\nplt.text(120, 195, \"Base\", size='large')\nplt.text(115, 100, \"Tubing\", size='large')\n\nax = plt.gca()\n\nax.set_xlim([0, 200])\nax.set_xticks(list(range(0, 210, 30)))\nax.xaxis.set_minor_locator(MultipleLocator(5))\n\nax.set_ylim([0, 280])\nax.set_yticks(list(range(0, 300, 50)))\nax.yaxis.set_minor_locator(MultipleLocator(10))\n```\n\n-----\n\nCopyright (c) Brian Skinn 2019\n\nStyle file is licensed under the [MIT License](https://github.com/bskinn/mpl-kaleidagraph/blob/master/LICENSE.txt).  \nImages are licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003eCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License\u003c/a\u003e \u0026nbsp; \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png\" /\u003e\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbskinn%2Fmpl-kaleidagraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbskinn%2Fmpl-kaleidagraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbskinn%2Fmpl-kaleidagraph/lists"}