{ "info": { "author": "Danny Antaki", "author_email": "dantaki@ucsd.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Topic :: Multimedia :: Graphics" ], "description": "# vapeplot\n\n---\n\nmatplotlib extension for vaporwave aesthetics \n\n---\n\n## install\n\n```\npip install vapeplot\n```\n\n---\n\n## demo\n\n#### view all palettes\n\n```\nimport vapeplot\n%matplotlib inline\n\nvapeplot.available()\n```\n\n![alt text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/vapeplot.png \"vapeplot palettes\")\n\ntry `from vapeplot import vapeplot` if the above commands failed \n\n#### view specific palettes\n\n```\nvapeplot.view_palette(\"cool\",'sunset')\n```\n\n![alt text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/view_palette.png \"cool sunset\")\n\n#### set the color palette\n\n```\nimport numpy as np\nimport matplotlib.pyplot as plt\n\nvapeplot.set_palette('vaporwave')\nfor i in range(10):\n plt.plot(range(100),np.random.normal(i,1,100))\nvapeplot.despine(plt.axes()) # remove right and top axes\n```\n\n![alt text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/vaporwave.png \"vaporwave palette\")\n\n#### make a colormap\n\n```\ncmap = vapeplot.cmap('crystal_pepsi')\nA = np.random.rand(25, 25)\nplt.imshow(A,cmap=cmap)\nvapeplot.despine(plt.axes(),True) # remove all axes\nplt.show()\n```\n\n![alt text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/vapeplot_colormaps.png \"crystal_pepsi colormap\")\n\n\n#### access a palette\n\n```\n# cool is a list of colors\ncool = vapeplot.palette(\"cool\")\n\n# reverse the order of colors\nseapunk_r = vapeplot.reverse(\"seapunk\")\n\n```\n\n---\n\n## examples\n\nplots produced with [seaborn tutorials](https://seaborn.pydata.org/examples/index.html)\n\nset the palette with vapeplot\n\n```\npal = sns.blend_palette(vapeplot.palette(palname))\n\ng = sns.FacetGrid(df, row=\"g\",hue=\"g\", palette=pal)\n```\n\n### cool \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/cool_seaborn_facetgrid.png \"cool facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/cool_seaborn_kdeplot.png \"cool kdeplot\")\n\n\n### crystal_pepsi\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/crystal_pepsi_seaborn_facetgrid.png \"crystal_pepsi facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/crystal_pepsi_seaborn_kdeplot.png \"crystal_pepsi kdeplot\")\n\n### jazzcup \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/jazzcup_seaborn_facetgrid.png \"jazzcup facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/jazzcup_seaborn_kdeplot.png \"jazzcup kdeplot\")\n\n### macplus \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/macplus_seaborn_facetgrid.png \"macplus facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/macplus_seaborn_kdeplot.png \"macplus kdeplot\")\n\n### mallsoft \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/mallsoft_seaborn_facetgrid.png \"mallsoft facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/mallsoft_seaborn_kdeplot.png \"mallsoft kdeplot\")\n\n### seapunk \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/seapunk_seaborn_facetgrid.png \"seapunk facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/seapunk_seaborn_kdeplot.png \"seapunk kdeplot\")\n\n### sunset\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/sunset_seaborn_facetgrid.png \"sunset facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/sunset_seaborn_kdeplot.png \"sunset kdeplot\")\n\n### vaporwave \n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/vaporwave_seaborn_facetgrid.png \"vaporwave facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/vaporwave_seaborn_kdeplot.png \"vaporwave kdeplot\")\n\nContributer palettes, submit your pull request!\n\n### avanti [by mike-u](https://github.com/mike-u)\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/avanti_seaborn_facetgrid.png \"avanti facetgrid\")\n\n![alt_text](https://raw.githubusercontent.com/dantaki/vapeplot/master/examples/avanti_seaborn_kdeplot.png \"avanti kdeplot\")\n\n\n---\n\n## api\n\n* `vapeplot.available(show=True)`\n * function to plot all vapeplot palettes\n * `show=False` prints palette names\n\n\n* `vapeplot.cmap(palname)`\n * returns a colormap object\n * `palname` is the name of the color palette\n\n\n* `vapeplot.despine(ax,all=False)` \n * removes figure axes\n * default action: remove right and top axes\n * `all=True` removes all axes\n\n\n* `vapeplot.font_size(s)`\n * change the font size globally\n\n\n* `vapeplot.palette(palname)`\n * returns a list of colors\n * if no `palname` is given, a dict of all the palettes is returned\n\n\n* `vapeplot.reverse(palname)`\n * returns a list of colors in reverse\n\n\n\n* `vapeplot.set_palette(palname)`\n * change the color palette globally\n\n\n\n* `vapeplot.view_palette(*args)`\n * view individual palettes\n * arguments: one or more palette names\n\n---\n\n\n## more to come :wink:", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dantaki/vapeplot/", "keywords": "vaporwave matplotlib", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "vapeplot", "package_url": "https://pypi.org/project/vapeplot/", "platform": "", "project_url": "https://pypi.org/project/vapeplot/", "project_urls": { "Homepage": "https://github.com/dantaki/vapeplot/" }, "release_url": "https://pypi.org/project/vapeplot/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "matplotlib extension for vaporwave aesthetics", "version": "0.0.8" }, "last_serial": 4434011, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "417949ea681e0ae8da947da738bb2c99", "sha256": "9c15ba8e55f47e9dc734c4315b40ce035146b9f2d89836687c8cbdc29979dca5" }, "downloads": -1, "filename": "vapeplot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "417949ea681e0ae8da947da738bb2c99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8891, "upload_time": "2018-01-25T20:13:52", "url": "https://files.pythonhosted.org/packages/eb/4d/807ca5b017afad2eed58ff34681b13aa7c796ad7e865795c70a8df0318e7/vapeplot-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "76484aa6a038d2d6966639751eb0c024", "sha256": "9edefcbb9ee231160760fdc0b0e6d3512eda5f0568c6a334a411983fb4cec2ad" }, "downloads": -1, "filename": "vapeplot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "76484aa6a038d2d6966639751eb0c024", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3819, "upload_time": "2018-01-26T20:10:19", "url": "https://files.pythonhosted.org/packages/02/f3/6ee16fed8dab1017cda9f498d2dc75704bbd1da4159adbbfa148575d07c6/vapeplot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "b3d2e1d0185fad257b15d5b102a1db82", "sha256": "569bb4444541725036acf25863a5b653c340e9c8563ff77808826b4dd09e1745" }, "downloads": -1, "filename": "vapeplot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b3d2e1d0185fad257b15d5b102a1db82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3940, "upload_time": "2018-01-26T23:43:02", "url": "https://files.pythonhosted.org/packages/c7/9e/f9880d500c6fdf01352fb72de6038e0b157c543d049a659043ea225a66bf/vapeplot-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "2c20ea94a2cae8e482e8ec4955960426", "sha256": "86a6c2184e3ccc1f4c3b30ba1f1c205d2fd0200eeaa1c42400d6d20dc0073f33" }, "downloads": -1, "filename": "vapeplot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "2c20ea94a2cae8e482e8ec4955960426", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3919, "upload_time": "2018-01-28T22:17:05", "url": "https://files.pythonhosted.org/packages/97/ae/99d7e4e4644ca6bc7322f78c2a09a5945457f24a6149fb2a9f6c2b730d38/vapeplot-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "614425a2ca2f79079801390a7b14df13", "sha256": "2690d65b923950b73c62ebb18b41511d9bf9f5c5c4211d9ea6d3ef415d900707" }, "downloads": -1, "filename": "vapeplot-0.0.5.tar.gz", "has_sig": false, "md5_digest": "614425a2ca2f79079801390a7b14df13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5585, "upload_time": "2018-01-28T22:24:46", "url": "https://files.pythonhosted.org/packages/31/98/e334e03841e5b3eb0df7071090cbd02fd82ba5e5fb1e347bb2357daa5fea/vapeplot-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "9ee08b510569b95f71b6591c357c5715", "sha256": "95f31aca23587295e67f786fda618e18a86e49883785c68acf4afa9916cb3fd3" }, "downloads": -1, "filename": "vapeplot-0.0.6.tar.gz", "has_sig": false, "md5_digest": "9ee08b510569b95f71b6591c357c5715", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12973, "upload_time": "2018-02-04T19:25:58", "url": "https://files.pythonhosted.org/packages/9b/56/9da5de846addfad2c2ef5687a8ea72c59be8134ad8b18510f2c2a62dc1ff/vapeplot-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "d7ba4c5c3336ef90d855f9cfac4ec47f", "sha256": "22e032ef9eaba98638330550f1ff0bd6c9186cdbae6d9365b71522046e19aa72" }, "downloads": -1, "filename": "vapeplot-0.0.7.tar.gz", "has_sig": false, "md5_digest": "d7ba4c5c3336ef90d855f9cfac4ec47f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12386, "upload_time": "2018-02-06T18:02:48", "url": "https://files.pythonhosted.org/packages/64/b0/9cd524a968acfad39018cbd449ae9c92e7f14ed27244341a76aeffc4bd9d/vapeplot-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "9d34eb2574852731234c89e8de4f04b1", "sha256": "50cda617664f69873e459d82eeef72a43f7511a6397bc1b6411199645239a4f2" }, "downloads": -1, "filename": "vapeplot-0.0.8.tar.gz", "has_sig": false, "md5_digest": "9d34eb2574852731234c89e8de4f04b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12717, "upload_time": "2018-10-31T02:06:01", "url": "https://files.pythonhosted.org/packages/c2/00/e23e04f686d950f55bbda9502d54e437a3b0cbc7c74f6bcaaae0765bc1cf/vapeplot-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9d34eb2574852731234c89e8de4f04b1", "sha256": "50cda617664f69873e459d82eeef72a43f7511a6397bc1b6411199645239a4f2" }, "downloads": -1, "filename": "vapeplot-0.0.8.tar.gz", "has_sig": false, "md5_digest": "9d34eb2574852731234c89e8de4f04b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12717, "upload_time": "2018-10-31T02:06:01", "url": "https://files.pythonhosted.org/packages/c2/00/e23e04f686d950f55bbda9502d54e437a3b0cbc7c74f6bcaaae0765bc1cf/vapeplot-0.0.8.tar.gz" } ] }