{
"info": {
"author": "Dale Roberts",
"author_email": "dale.o.roberts@gmail.com",
"bugtrack_url": null,
"classifiers": [],
"description": "itermplot\n=========\n\nAn awesome `iTerm2 `__ backend for Matplotlib,\nso you can plot directly in your terminal.\n\nThe above is achieved with zero modifications to your Python script. For\nexample, the above plots are generated with the following code:\n\n.. code:: {python}\n\n import numpy as np\n import matplotlib.pyplot as plt\n import networkx as nx\n\n plt.rcParams[\"font.size\"] = 10\n\n plt.figure(figsize=(8,3))\n\n ax = plt.subplot(121)\n x = np.arange(0,10,0.001)\n ax.plot(x, np.sin(np.sinc(x)), 'r', lw=2)\n ax.set_title('Nice wiggle')\n\n ax = plt.subplot(122)\n plt.tick_params(axis='both', left='off', top='off', right='off', bottom='off', labelleft='off', labeltop='off', labelright='off', labelbottom='off')\n G = nx.random_geometric_graph(200, 0.125)\n pos=nx.spring_layout(G)\n nx.draw_networkx_edges(G, pos, alpha=0.2)\n nx.draw_networkx_nodes(G, pos, node_color='r', node_size=12)\n ax.set_title('Random graph')\n\n plt.show()\n\nNote: you need to run ``plt.show()`` to display the figure.\n\nReverse video\n~~~~~~~~~~~~~\n\nIf you use a dark background in your terminal, you can enable \u201creverse\nvideo\u201d mode by adding this to your ``.profile``:\n\n::\n\n export ITERMPLOT=rv\n\nTMUX support\n~~~~~~~~~~~~\n\nitermplot tries to auto-detect TMUX and behave in a sane way. Vertical\nsplit panes do not work well due to a limitation with iTerm2. Luckily,\nhorizontals do though.\n\nAnimation support\n~~~~~~~~~~~~~~~~~\n\nitermplot supports animation created by matplotlib animation module.\n\nYou\u2019ll need to install ImageMagick and have it on the path to use the\nanimation support. The simpliest way to see if ImageMagick is installed\nand valid is to run:\n\n.. code:: {sh}\n\n $ convert -version\n Version: ImageMagick 7.0.4-4 Q16 x86_64 2017-01-14 http://www.imagemagick.org\n Copyright: \u00a9 1999-2017 ImageMagick Studio LLC\n License: http://www.imagemagick.org/script/license.php\n Features: Cipher DPC HDRI Modules\n Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib\n\nTo enable animation support, you need to specifying the desired number\nof frames in the output animation. For example, specify it before your\nscript with:\n\n::\n\n $ ITERMPLOT_FRAMES=30 python script.py\n\nYou can also save the resulting gif file by using ``ITERMPLOT_OUTFILE``\nenvironment variable:\n\n::\n\n $ ITERMPLOT_FRAMES=30 ITERMPLOT_OUTFILE=out.gif python script.py\n\nCurrently animation does not support reverse video with ITERMPLOT=rv.\n\nConfigure lines\n~~~~~~~~~~~~~~~\n\nYou can configure the number of lines used with the ``ITERMPLOT_LINES``\nenvironment variable. For example:\n\n.. code:: {sh}\n\n ITERMPLOT_LINES=5 python3 simple.py\n\nPython 2 and Python 3 support\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nNow supports Python 2, even if this makes me want to cry \ud83d\ude2d\n\nInstallation\n------------\n\nUsing pip\n~~~~~~~~~\n\nInstall using ``pip`` using the command:\n\n.. code:: {sh}\n\n pip3 install itermplot\n\nitermplot is enabled by setting ``MPLBACKEND`` in your environment. If\nyou use ``bash``, then this can be accomplished using the command:\n\n.. code:: {sh}\n\n export MPLBACKEND=\"module://itermplot\"\n\nNote: you can add the ``export`` line above to your ``.profile`` file so\nthat itermplot is always enabled in your terminal.\n\nTesting\n~~~~~~~\n\nTo test your installation you can do the following in your iTerm2\nconsole:\n\n::\n\n $ echo $MPLBACKEND\n module://itermplot\n $ python3\n Python 3.5.2 (default, Oct 24 2016, 09:14:06)\n [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n >>> import matplotlib.pyplot as plt\n >>> plt.plot([1,2,3])\n []\n >>> plt.show()\n\nYou should see a plot!\n\nUninstall\n---------\n\nYou can disable this backend by unsetting the ``MPLBACKEND`` environment\nvariable.\n\n::\n\n $ unset MPLBACKEND\n $ echo $MPLBACKEND\n\n $ python3\n Python 3.5.2 (default, Oct 24 2016, 09:14:06)\n [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n >>> import matplotlib.pyplot as plt\n >>> plt.plot([1,2,3])\n []\n >>> plt.show()\n\nTo remove the package completely, run:\n\n::\n\n pip3 uninstall itermplot\n\nBugs\n----\n\nThis backend is very alpha, so if you have a problem please raise an\nIssue on GitHub and I will try to fix it.\n\nI also accept (and appreciate!) good patches / pull request. Thanks to\n`garrywu `__,\n`brenshanny `__,\n`hbredin `__,\n`zevlg `__ for their patches so far.\n\nOther cool things\n-----------------\n\nI encourage you to check-out some of my `other little\nprojects `__. Lots more coming as I\nslowly release them\u2026\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/daleroberts/itermplot",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "itermplot",
"package_url": "https://pypi.org/project/itermplot/",
"platform": "",
"project_url": "https://pypi.org/project/itermplot/",
"project_urls": {
"Homepage": "http://github.com/daleroberts/itermplot"
},
"release_url": "https://pypi.org/project/itermplot/0.331/",
"requires_dist": null,
"requires_python": "",
"summary": "An awesome iTerm2 backend for Matplotlib, so you can plot directly in your terminal.",
"version": "0.331"
},
"last_serial": 4006913,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "3c6769aced32f45a27b58068164de631",
"sha256": "42db7a546e3e001ddaccff4e334289a2034f4c0eb6ece572a1289df9e0f53795"
},
"downloads": -1,
"filename": "itermplot-0.1.tar.gz",
"has_sig": false,
"md5_digest": "3c6769aced32f45a27b58068164de631",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 760,
"upload_time": "2017-01-14T05:24:07",
"url": "https://files.pythonhosted.org/packages/e1/ba/799c03ec0c550562e66fa35cd83934b628df356432f04fdf74a5fc2e188a/itermplot-0.1.tar.gz"
}
],
"0.11": [
{
"comment_text": "",
"digests": {
"md5": "5a301da665447eb046cb90d6c99f8150",
"sha256": "c77a682397fc4d29995a5cdc101cb061b5b2276235ac449662f366990e9338a2"
},
"downloads": -1,
"filename": "itermplot-0.11.tar.gz",
"has_sig": false,
"md5_digest": "5a301da665447eb046cb90d6c99f8150",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2874,
"upload_time": "2017-01-15T21:28:36",
"url": "https://files.pythonhosted.org/packages/8a/a2/16983493ff1e7af814e435969220032a9b987b95f972d474dc486f63436a/itermplot-0.11.tar.gz"
}
],
"0.12": [
{
"comment_text": "",
"digests": {
"md5": "49dfbc76951c9e90b264f6876f3ccd49",
"sha256": "0cf0e479025edd360b813ea63c5c3f30519cb8e8b48a6bbc2982fa4a8596fcae"
},
"downloads": -1,
"filename": "itermplot-0.12.tar.gz",
"has_sig": false,
"md5_digest": "49dfbc76951c9e90b264f6876f3ccd49",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2883,
"upload_time": "2017-01-16T02:23:04",
"url": "https://files.pythonhosted.org/packages/c7/a5/0fd65627306e0e4bb6916d5c883a8dcba7867f4e379193e91e6794befefe/itermplot-0.12.tar.gz"
}
],
"0.13": [
{
"comment_text": "",
"digests": {
"md5": "dcd023b6e0b69cee749d993791b5300e",
"sha256": "d5c0d8c3abe0a71f76dbc0bc700aee6510c5fd4525085bb35d635c635cd3ccec"
},
"downloads": -1,
"filename": "itermplot-0.13.tar.gz",
"has_sig": false,
"md5_digest": "dcd023b6e0b69cee749d993791b5300e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2887,
"upload_time": "2017-01-16T02:34:26",
"url": "https://files.pythonhosted.org/packages/db/91/c959e569fb140ee3cd9a4bfc39ee6d2d9d9d6809bd403b3567c86511f4ed/itermplot-0.13.tar.gz"
}
],
"0.14": [
{
"comment_text": "",
"digests": {
"md5": "56bdeb5e899a27a96a00e1de5a472c15",
"sha256": "60afc4be960cb5972c3966c5a9a15838fd0818767f3eb8b951993e503aabe35d"
},
"downloads": -1,
"filename": "itermplot-0.14.tar.gz",
"has_sig": false,
"md5_digest": "56bdeb5e899a27a96a00e1de5a472c15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2794,
"upload_time": "2017-01-16T22:52:26",
"url": "https://files.pythonhosted.org/packages/14/81/e2c26e1334e98f66389cc08852570496f82083432eec10b8a6e834c7c6f0/itermplot-0.14.tar.gz"
}
],
"0.16": [
{
"comment_text": "",
"digests": {
"md5": "ee29463ac4d6d93c47195cc592ace82e",
"sha256": "ad3df9e717662737af326c233499550d5c805cb6b31ff3f4efca82c201d76854"
},
"downloads": -1,
"filename": "itermplot-0.16.tar.gz",
"has_sig": false,
"md5_digest": "ee29463ac4d6d93c47195cc592ace82e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3203,
"upload_time": "2017-01-18T22:59:28",
"url": "https://files.pythonhosted.org/packages/d2/67/45b457559409b82e3a6393d34c84a46a5e76bb4051d23f28c6771bf52fdf/itermplot-0.16.tar.gz"
}
],
"0.17": [
{
"comment_text": "",
"digests": {
"md5": "e823407016b1ccb4792ed87d4239cf7f",
"sha256": "bb2d7ddf99b8d84cb603c50970a82650cb55e3beb086cae6f210fbd04d60d8fa"
},
"downloads": -1,
"filename": "itermplot-0.17.tar.gz",
"has_sig": false,
"md5_digest": "e823407016b1ccb4792ed87d4239cf7f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3205,
"upload_time": "2017-01-18T23:08:27",
"url": "https://files.pythonhosted.org/packages/34/37/52024168482a2e8d1890abf8140fbc7a0e5080079f2221a4b9fe87e622e4/itermplot-0.17.tar.gz"
}
],
"0.18": [
{
"comment_text": "",
"digests": {
"md5": "7e11477d64b07f3466a0b5b952da8c19",
"sha256": "9ef2a17c2820411231c3ca4a2682c38e8ca12c1ca4899c4199faf5e1972ca8b3"
},
"downloads": -1,
"filename": "itermplot-0.18.tar.gz",
"has_sig": false,
"md5_digest": "7e11477d64b07f3466a0b5b952da8c19",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3243,
"upload_time": "2017-01-19T04:56:04",
"url": "https://files.pythonhosted.org/packages/6a/cc/f839cb353ea4543a56ae9ef217736b08d370a71da65c527d4511206f88d0/itermplot-0.18.tar.gz"
}
],
"0.19": [
{
"comment_text": "",
"digests": {
"md5": "f2249144d29a6a7e2e7579036af2b4b4",
"sha256": "10bf9f277260430a002b07c4fa443e1f82f234f792c6ccaf0b7086d8a1403d0a"
},
"downloads": -1,
"filename": "itermplot-0.19.tar.gz",
"has_sig": false,
"md5_digest": "f2249144d29a6a7e2e7579036af2b4b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3351,
"upload_time": "2017-01-26T22:05:33",
"url": "https://files.pythonhosted.org/packages/18/5e/b2635f2a04c87796e8503edb21af1bcac2b5c96516e11d994c30e2cbf1f7/itermplot-0.19.tar.gz"
}
],
"0.20": [
{
"comment_text": "",
"digests": {
"md5": "bc22b7481d689e0cdc11682584b4cc56",
"sha256": "35e3dbcd589330b412356f43bdd414342fd6bcbb5e692a620fe0088395b707c4"
},
"downloads": -1,
"filename": "itermplot-0.20.tar.gz",
"has_sig": false,
"md5_digest": "bc22b7481d689e0cdc11682584b4cc56",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3395,
"upload_time": "2017-04-07T01:40:00",
"url": "https://files.pythonhosted.org/packages/48/3b/2220d47c1751674b67b69f68325737b33dcc218a8af11c80f5fc3ec56443/itermplot-0.20.tar.gz"
}
],
"0.30": [
{
"comment_text": "",
"digests": {
"md5": "ca656e005537617e7799b7a8340d4b4e",
"sha256": "487a6fe1c42c87cd100889e8a2348e1058bf5947f8ae34a4f4c6da1971f6bdf6"
},
"downloads": -1,
"filename": "itermplot-0.30.tar.gz",
"has_sig": false,
"md5_digest": "ca656e005537617e7799b7a8340d4b4e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5514,
"upload_time": "2018-04-20T21:11:10",
"url": "https://files.pythonhosted.org/packages/11/e0/35b0505ed8fd9aeadac64f656adc550af82bdae7d86db94d22a962d711e3/itermplot-0.30.tar.gz"
}
],
"0.31": [
{
"comment_text": "",
"digests": {
"md5": "b5164954826711dd2b769711392a8269",
"sha256": "1a645b001605ef01efa1b8eab3bada6f95b2070fd45cc11d00e1a56f74fe4022"
},
"downloads": -1,
"filename": "itermplot-0.31.tar.gz",
"has_sig": false,
"md5_digest": "b5164954826711dd2b769711392a8269",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6105,
"upload_time": "2018-04-20T21:18:29",
"url": "https://files.pythonhosted.org/packages/0a/73/8b84532a1aa351a8ba440ebb1d22c5f34a47ed8a2c04809b05cb7a37a0aa/itermplot-0.31.tar.gz"
}
],
"0.32": [
{
"comment_text": "",
"digests": {
"md5": "f1de43a1d757385ced2f5b6c1d96a74f",
"sha256": "710f1ae09a237846fe94fc5f7332af6be4ad644df9f7095745a7280be161f99e"
},
"downloads": -1,
"filename": "itermplot-0.32.tar.gz",
"has_sig": false,
"md5_digest": "f1de43a1d757385ced2f5b6c1d96a74f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6113,
"upload_time": "2018-04-20T21:27:58",
"url": "https://files.pythonhosted.org/packages/e5/ad/dcb5fdf3e5a9709c8f6a5c370018ada465c22815329d3c36c379d27b2a45/itermplot-0.32.tar.gz"
}
],
"0.321": [
{
"comment_text": "",
"digests": {
"md5": "bf45679646b721d44d65927fe1cc40bd",
"sha256": "cd309e4b8437a124ae6d537408aadb670b4fa1b0a18dc00394f31eb936e6ac21"
},
"downloads": -1,
"filename": "itermplot-0.321.tar.gz",
"has_sig": false,
"md5_digest": "bf45679646b721d44d65927fe1cc40bd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6828,
"upload_time": "2018-04-20T21:33:46",
"url": "https://files.pythonhosted.org/packages/13/a6/10f9d43993d383aa289adb5b19f1e1448703fa8eec5edb75e1ebc34de909/itermplot-0.321.tar.gz"
}
],
"0.322": [
{
"comment_text": "",
"digests": {
"md5": "0c49e41af9fd103aa589b22985ef85ba",
"sha256": "26bdee5c6438ab30957373bc877700d4a8e1d6246a6322ecd974c8ba3542f2d8"
},
"downloads": -1,
"filename": "itermplot-0.322.tar.gz",
"has_sig": false,
"md5_digest": "0c49e41af9fd103aa589b22985ef85ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6841,
"upload_time": "2018-05-04T22:49:34",
"url": "https://files.pythonhosted.org/packages/4d/71/f01b68b9b4a0f491e40b05e37a34922394da528bd5527acc941bdac749a7/itermplot-0.322.tar.gz"
}
],
"0.33": [
{
"comment_text": "",
"digests": {
"md5": "4b92e54c9d8db165941271150d56cc5d",
"sha256": "25f6c0a52e4bfcd8e09244c9f19d67471000516542e177dde8e42c2044e4988e"
},
"downloads": -1,
"filename": "itermplot-0.33.tar.gz",
"has_sig": false,
"md5_digest": "4b92e54c9d8db165941271150d56cc5d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6852,
"upload_time": "2018-06-27T09:18:28",
"url": "https://files.pythonhosted.org/packages/53/ab/0bf3bc161d22131099f8fc26dededd88e49da9dba7dd6a7c1f9df2fe81d2/itermplot-0.33.tar.gz"
}
],
"0.331": [
{
"comment_text": "",
"digests": {
"md5": "9f387875eaa428b608cd0813884b6008",
"sha256": "0f4099872a78b3a13d899c7a1d0e04ea9693af06b6f23f5a8c279dc646833141"
},
"downloads": -1,
"filename": "itermplot-0.331.tar.gz",
"has_sig": false,
"md5_digest": "9f387875eaa428b608cd0813884b6008",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6849,
"upload_time": "2018-06-27T11:18:54",
"url": "https://files.pythonhosted.org/packages/0a/9c/e861591c29580f92e24f2be033ae51e882abecb480324ddd982e056d7ab4/itermplot-0.331.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9f387875eaa428b608cd0813884b6008",
"sha256": "0f4099872a78b3a13d899c7a1d0e04ea9693af06b6f23f5a8c279dc646833141"
},
"downloads": -1,
"filename": "itermplot-0.331.tar.gz",
"has_sig": false,
"md5_digest": "9f387875eaa428b608cd0813884b6008",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6849,
"upload_time": "2018-06-27T11:18:54",
"url": "https://files.pythonhosted.org/packages/0a/9c/e861591c29580f92e24f2be033ae51e882abecb480324ddd982e056d7ab4/itermplot-0.331.tar.gz"
}
]
}