{ "info": { "author": "Nico Schl\u00f6mer", "author_email": "nico.schloemer@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics", "Topic :: System :: Shells" ], "description": "asciiplotlib has been renamed [**termplotlib**](https://github.com/nschloe/termplotlib).\nThere will be no further releases of asciiplotlib.\n\n--\n\n# asciiplotlib\n\n[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/asciiplotlib/master.svg)](https://circleci.com/gh/nschloe/asciiplotlib)\n[![codecov](https://img.shields.io/codecov/c/github/nschloe/asciiplotlib.svg)](https://codecov.io/gh/nschloe/asciiplotlib)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![PyPi Version](https://img.shields.io/pypi/v/asciiplotlib.svg)](https://pypi.org/project/asciiplotlib)\n[![GitHub stars](https://img.shields.io/github/stars/nschloe/asciiplotlib.svg?logo=github&label=Stars&logoColor=white)](https://github.com/nschloe/asciiplotlib)\n[![PyPi downloads](https://img.shields.io/pypi/dm/asciiplotlib.svg)](https://pypistats.org/packages/asciiplotlib)\n\nasciiplotlib is a Python 3 library for all your terminal plotting needs. It aims to work\nlike [matplotlib](https://matplotlib.org/).\n\n\n### Line plots\n\nFor line plots, asciiplotlib relies on [gnuplot](http://www.gnuplot.info/). With that installed, the code\n```python\nimport asciiplotlib as apl\nimport numpy\n\nx = numpy.linspace(0, 2 * numpy.pi, 10)\ny = numpy.sin(x)\n\nfig = apl.figure()\nfig.plot(x, y, label=\"data\", width=50, height=15)\nfig.show()\n```\nproduces\n```\n 1 +---------------------------------------+\n 0.8 | ** ** |\n 0.6 | * ** data ******* |\n 0.4 | ** |\n 0.2 |* ** |\n 0 | ** |\n | * |\n -0.2 | ** ** |\n -0.4 | ** * |\n -0.6 | ** |\n -0.8 | **** ** |\n -1 +---------------------------------------+\n 0 1 2 3 4 5 6 7\n```\n\n### Horizontal histograms\n\n```python\nimport asciiplotlib as apl\nimport numpy\n\nnumpy.random.seed(123)\nsample = numpy.random.normal(size=1000)\ncounts, bin_edges = numpy.histogram(sample)\n\nfig = apl.figure()\nfig.hist(counts, bin_edges, orientation=\"horizontal\", force_ascii=False)\nfig.show()\n```\nproduces\n\n![hist1](https://nschloe.github.io/asciiplotlib/hist1.png)\n\nHorizontal bar charts are covered as well. This\n```python\nfig = apl.figure()\nfig.barh(\n [3, 10, 5, 2],\n ['Cats', 'Dogs', 'Cows', 'Geese'],\n force_ascii=True\n)\nfig.show()\n```\nproduces\n```\nCats [ 3] ************\nDogs [10] ****************************************\nCows [ 5] ********************\nGeese [ 2] ********\n```\n\n### Vertical histograms\n\n```python\nimport asciiplotlib as apl\nimport numpy\n\nnumpy.random.seed(123)\nsample = numpy.random.normal(size=1000)\ncounts, bin_edges = numpy.histogram(sample, bins=40)\nfig = apl.figure()\nfig.hist(counts, bin_edges, grid=[15, 25], force_ascii=False)\nfig.show()\n```\nproduces\n\n![hist2](https://nschloe.github.io/asciiplotlib/hist2.png)\n\n\n### Tables\n\nSupport for tables has moved over to\n[termtables](https://github.com/nschloe/termtables).\n\n\n### Installation\n\nasciiplotlib is [available from the Python Package\nIndex](https://pypi.org/project/asciiplotlib/), so simply do\n```\npip3 install -U asciiplotlib\n```\nto install or upgrade. Use `sudo -H` to install as root or the `--user` option\nof `pip3` to install in `$HOME`.\n\n\n### Testing\n\nTo run the asciiplotlib unit tests, check out this repository and type\n```\npytest\n```\n\n### License\n\nasciiplotlib is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nschloe/asciiplotlib", "keywords": "", "license": "License :: OSI Approved :: MIT License", "maintainer": "", "maintainer_email": "", "name": "asciiplotlib", "package_url": "https://pypi.org/project/asciiplotlib/", "platform": "", "project_url": "https://pypi.org/project/asciiplotlib/", "project_urls": { "Homepage": "https://github.com/nschloe/asciiplotlib" }, "release_url": "https://pypi.org/project/asciiplotlib/0.2.3/", "requires_dist": null, "requires_python": ">=3", "summary": "Plotting on the command line", "version": "0.2.3" }, "last_serial": 5891800, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "bbb5c920161b35e1199b53a66f74755d", "sha256": "395bc4bc697052c09fe0a5d7ad5383dd228ae6e97163a7a2d20d505093724b8f" }, "downloads": -1, "filename": "asciiplotlib-0.1.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bbb5c920161b35e1199b53a66f74755d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11491, "upload_time": "2019-03-14T10:11:01", "url": "https://files.pythonhosted.org/packages/15/c5/46a2d818c286d22af10845623b06a48f49f740cd70651cd0268d992564f0/asciiplotlib-0.1.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e19fa9ef253e6df772d996b5ba75ce72", "sha256": "8be0f9a8b2b1002cceab4a99b1ea60f8d7490f5cddd1a19b15b193ab28ce32eb" }, "downloads": -1, "filename": "asciiplotlib-0.1.8.tar.gz", "has_sig": false, "md5_digest": "e19fa9ef253e6df772d996b5ba75ce72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13057, "upload_time": "2019-03-14T10:11:04", "url": "https://files.pythonhosted.org/packages/40/63/c875bb92a60689e4c6cff937596da205ef76ca465b18d537397839fb4e52/asciiplotlib-0.1.8.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f41bfefffc1714806055f1c947a4cfd0", "sha256": "43734a581faacebd9bc29ec46bb3f93900af08e8a980a1a29ce0c46d96ebaaba" }, "downloads": -1, "filename": "asciiplotlib-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f41bfefffc1714806055f1c947a4cfd0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 8589, "upload_time": "2019-07-07T19:33:52", "url": "https://files.pythonhosted.org/packages/e9/16/cf1b0f4c7dd84da048b2935a216afcc0a86bee2975d4634aaf5299ff25ad/asciiplotlib-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "08ee78e09ed0e4b80563dbd2b396046e", "sha256": "29a8d03dec59b903864e9996cb7d867050a316a6993b8c4da28a63b21eb08575" }, "downloads": -1, "filename": "asciiplotlib-0.2.0.tar.gz", "has_sig": false, "md5_digest": "08ee78e09ed0e4b80563dbd2b396046e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8412, "upload_time": "2019-07-07T19:33:53", "url": "https://files.pythonhosted.org/packages/78/cb/b73015165c23cec4d7a322dde69aabf2c9e75e0f3ab75ccbbc120643ed2a/asciiplotlib-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "04120950920885dc66d4e22b6e5720f2", "sha256": "055d179c8598972b2bcd9fd9e97f8ea07d80873d8953f3b909786febed240ef6" }, "downloads": -1, "filename": "asciiplotlib-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "04120950920885dc66d4e22b6e5720f2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9287, "upload_time": "2019-07-19T16:42:15", "url": "https://files.pythonhosted.org/packages/88/61/3e617b1131629c54f46d3360a59377dfa29f7d16e278089fc11487313e9c/asciiplotlib-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b297890097749216508764ec116f9041", "sha256": "2daf557a0e1b831343b983b04dc3846b27e8264513d6b79a4a4101c6d0cefd90" }, "downloads": -1, "filename": "asciiplotlib-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b297890097749216508764ec116f9041", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8911, "upload_time": "2019-07-19T16:42:17", "url": "https://files.pythonhosted.org/packages/b7/4c/d50696e79ac4c01cdf3ddd6bd1d3423788eaf57874f2fb25d447ef2fc7e8/asciiplotlib-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b29be1f36f94d984eaaf16ffc5e70e4d", "sha256": "d7546d1f4c5645645620ffcaad5f172c11842c5ebef8ae2cca32da88738be1ee" }, "downloads": -1, "filename": "asciiplotlib-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b29be1f36f94d984eaaf16ffc5e70e4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9334, "upload_time": "2019-09-26T08:41:53", "url": "https://files.pythonhosted.org/packages/18/2e/3a5209c214b2e3c3a4a56a340506fc8f37741cd2fed968580f0b1a09b883/asciiplotlib-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca0840c9802458aa089ad3d2c9567117", "sha256": "b9a17077971a752478787f87b154e0b12fa222e3ea365d73b9e70392d64ccf5c" }, "downloads": -1, "filename": "asciiplotlib-0.2.2.tar.gz", "has_sig": false, "md5_digest": "ca0840c9802458aa089ad3d2c9567117", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 9053, "upload_time": "2019-09-26T08:41:55", "url": "https://files.pythonhosted.org/packages/28/2a/e16ed4ab1f1b29d736f7d91b64415c257cd1d4189e83d1c6058624a3c3a3/asciiplotlib-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "e7b7822c869215572350243417a0258a", "sha256": "6d787f2d3bcfbc84b6b269c5fb3013c5451d5c7b5c997ef00cd91e76a47141b4" }, "downloads": -1, "filename": "asciiplotlib-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e7b7822c869215572350243417a0258a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9395, "upload_time": "2019-09-26T17:31:28", "url": "https://files.pythonhosted.org/packages/ee/1a/0d94daf1a7286c1f0872ac8b641b4d258f64219ba7055c7c8152bb29ff21/asciiplotlib-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b549ef46a06d6be6e415b7ac65a0fc41", "sha256": "49353edb7ded625610f14cc1b16590a73b4f54ff0fbfd0cc7388042d35bc4519" }, "downloads": -1, "filename": "asciiplotlib-0.2.3.tar.gz", "has_sig": false, "md5_digest": "b549ef46a06d6be6e415b7ac65a0fc41", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 9697, "upload_time": "2019-09-26T17:31:30", "url": "https://files.pythonhosted.org/packages/2d/97/da1d39017b9d868ea37301b8d59821d58e87700a5f89f97daa0763851f1f/asciiplotlib-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e7b7822c869215572350243417a0258a", "sha256": "6d787f2d3bcfbc84b6b269c5fb3013c5451d5c7b5c997ef00cd91e76a47141b4" }, "downloads": -1, "filename": "asciiplotlib-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e7b7822c869215572350243417a0258a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9395, "upload_time": "2019-09-26T17:31:28", "url": "https://files.pythonhosted.org/packages/ee/1a/0d94daf1a7286c1f0872ac8b641b4d258f64219ba7055c7c8152bb29ff21/asciiplotlib-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b549ef46a06d6be6e415b7ac65a0fc41", "sha256": "49353edb7ded625610f14cc1b16590a73b4f54ff0fbfd0cc7388042d35bc4519" }, "downloads": -1, "filename": "asciiplotlib-0.2.3.tar.gz", "has_sig": false, "md5_digest": "b549ef46a06d6be6e415b7ac65a0fc41", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 9697, "upload_time": "2019-09-26T17:31:30", "url": "https://files.pythonhosted.org/packages/2d/97/da1d39017b9d868ea37301b8d59821d58e87700a5f89f97daa0763851f1f/asciiplotlib-0.2.3.tar.gz" } ] }