{"id":21195285,"url":"https://github.com/szapp/plotface","last_synced_at":"2026-04-12T16:05:58.102Z","repository":{"id":202345210,"uuid":"159367063","full_name":"szapp/plotface","owner":"szapp","description":"Python module to switch between light/dark interface and inline/gui backend of matplotlib figures in IPython on the fly.","archived":false,"fork":false,"pushed_at":"2022-03-10T17:12:37.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T21:40:09.115Z","etag":null,"topics":["dark-theme","interactive","ipython","matplotlib","visualization"],"latest_commit_sha":null,"homepage":"","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/szapp.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,"governance":null}},"created_at":"2018-11-27T16:37:54.000Z","updated_at":"2024-01-31T10:30:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb13acd0-806a-42c7-9798-dba6a71de668","html_url":"https://github.com/szapp/plotface","commit_stats":null,"previous_names":["szapp/plotface"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szapp/plotface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szapp%2Fplotface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szapp%2Fplotface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szapp%2Fplotface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szapp%2Fplotface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szapp","download_url":"https://codeload.github.com/szapp/plotface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szapp%2Fplotface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272072203,"owners_count":24868385,"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-08-25T02:00:12.092Z","response_time":1107,"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":["dark-theme","interactive","ipython","matplotlib","visualization"],"created_at":"2024-11-20T19:26:59.294Z","updated_at":"2026-04-12T16:05:58.074Z","avatar_url":"https://github.com/szapp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plotface\n\nPython module to switch between light/dark interface and inline/gui backend of matplotlib figures in IPython on the fly.\n\nIt is particularly useful when running a Jupyter or IPython console embedded in a dark themed shell, as for example\nwhen using [Spyder](https://www.spyder-ide.org) with color schemes like Monokai or similar ([see below](#example)).\n\n\n## Installation\n\nClone `plotface` into a directory in your python path.\n\n```bash\ngit clone https://github.com/szapp/plotface.git\ncd plotface\npip install -r requirements.txt\n```\n\n\n## Usage\n\n```python\nIn [1]: import plotface\n\nIn [2]: plotface.dark()\n\nIn [3]: plotface.light()\n\nIn [4]: plotface.inline()\n\nIn [5]: plotface.gui()\n```\n\n\n## Example\n\nThis example shows the aesthetic benefit of switching to a dark interface when working with the Monokai color scheme.\n\n![](https://user-images.githubusercontent.com/20203034/49161136-87f4aa00-f328-11e8-9c79-97cb89e2688a.png)\n\n\n## Saving Figures\n\nTo keep having figures saved with black lines and text regardless of light or dark interface, the module hooks the\n`savefig` function of matplotlib's pyplot to replace the color of all white text and lines with black.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszapp%2Fplotface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszapp%2Fplotface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszapp%2Fplotface/lists"}