{ "info": { "author": "Atsushi Sakai", "author_email": "asakai.amsl@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization" ], "description": "PyCoolPlot\n==========\n\nA cool plotting module in Python\n\nWhat is this?\n=============\n\nThis is a plotting module in Python.\n\nRef:\n\n- `\u30c7\u30fc\u30bf\u8996\u899a\u5316\u306e\u30c7\u30b6\u30a4\u30f3 #1\uff5cGo Ando / THE\n GUILD\uff5cnote `__\n\n- `\u300c\u30c7\u30fc\u30bf\u8996\u899a\u5316\u306e\u30c7\u30b6\u30a4\u30f3 #1\u300d\u3092matplotlib\u3067\u5b9f\u88c5\u3059\u308b -\n Qiita `__\n\nRequirements\n============\n\n- Python 3.6.x or higher\n\n- matplotlib\n\n- numpy\n\n- pandas\n\nDownload\n========\n\nUsing pip\n---------\n\n $ pip install PyCoolPlot\n\nPyPI page:\n\n- `PyCoolPlot \u00b7\n PyPI `__\n\nManual install\n--------------\n\n1. Install Python 3.6.x.\n\n2. Clone or download as zip this repository.\n\n3. import pycoolplot.py\n\nHow to use\n==========\n\nThe sample code might be helpful:\n\n- `PyCoolPlot/sample.py `__\n\nimport\n------\n\nIf you use pip to install PyCoolPlot, you can import it like:\n\n::\n\n from pycoolplot import pycoolplot\n\nHorizontal bar plot\n-------------------\n\nYou can plot a beautiful horizontal bar plot like:\n\n::\n\n data = [1000, 2000, 10000]\n index = [\"A\", \"B\", \"C\"]\n pycoolplot.horizontal_bar(index, data)\n pycoolplot.plt.show()\n\nYou will see:\n\n.. figure:: https://github.com/AtsushiSakai/PyCoolPlot/raw/master/imgs/1.png\n :alt: 1\n\n 1\n\nIf you want a rate bar plot, you can set rate_graph is True like:\n\n::\n\n data = [1000, 2000, 10000]\n index = [\"A\", \"B\", \"C\"]\n pycoolplot.horizontal_bar(index, data, rate_graph=True)\n pycoolplot.plt.show()\n\nYou will see:\n\n.. figure:: https://github.com/AtsushiSakai/PyCoolPlot/raw/master/imgs/2.png\n :alt: 2\n\n 2\n\nLine graph\n----------\n\nYou can plot a beautiful line graph like:\n\n::\n\n data2 = [[970, 1010, 1015, 1008],\n [975, 1020, 1002, 1035],\n [975, 985, 995, 999]]\n index2 = ['Toyota', 'VW', 'GM']\n columns = [2013, 2014, 2015, 2016]\n ylabel = \"Number\"\n xlabel = \"Year\"\n pycoolplot.line_graph(data2, index2, columns, xlabel,\n ylabel, xtick=1, ytick=25)\n pycoolplot.plt.show()\n\nYou can get:\n\n.. figure:: https://github.com/AtsushiSakai/PyCoolPlot/raw/master/imgs/3.png\n :alt: 3\n\n 3\n\nIf you want to focus a line, you can set focus_id like:\n\n::\n\n data2 = [[970, 1010, 1015, 1008],\n [975, 1020, 1002, 1035],\n [975, 985, 995, 999]]\n index2 = ['Toyota', 'VW', 'GM']\n columns = [2013, 2014, 2015, 2016]\n ylabel = \"Number\"\n xlabel = \"Year\"\n focus_id = 1 # the index of focusing line, in this case Toyota=0, VW=1, GM=2\n pycoolplot.line_graph(data2, index2, columns, xlabel,\n ylabel, xtick=1, ytick=25, focus_id=focus_id)\n pycoolplot.plt.show()\n\n.. figure:: https://github.com/AtsushiSakai/PyCoolPlot/raw/master/imgs/4.png\n :alt: 4\n\n 4\n\nTime bar chart\n--------------\n\nYou can plot a beautiful time series bar chart like:\n\n::\n\n data = pycoolplot.np.linspace(450, 990, 12) + \\\n pycoolplot.np.random.randint(-50, 50, 12)\n time_index = pycoolplot.pd.date_range('2017/5', periods=12, freq='MS')\n pycoolplot.time_vertical_bar(data, time_index, xlabel=\"time\", ylabel=\"MAU\")\n pycoolplot.plt.show()\n\n.. figure:: https://github.com/AtsushiSakai/PyCoolPlot/raw/master/imgs/5.png\n :alt: 5\n\n 5\n\nLicense\n=======\n\nMIT\n\nAuthor\n======\n\n- `Atsushi Sakai `__\n ([@Atsushi_twi](https://twitter.com/Atsushi_twi))\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AtsushiSakai/PyCoolPlot", "keywords": "python plot matplotlib", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PyCoolPlot", "package_url": "https://pypi.org/project/PyCoolPlot/", "platform": "", "project_url": "https://pypi.org/project/PyCoolPlot/", "project_urls": { "Homepage": "https://github.com/AtsushiSakai/PyCoolPlot" }, "release_url": "https://pypi.org/project/PyCoolPlot/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "A cool plotting module in Python", "version": "0.0.4" }, "last_serial": 4135038, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "b898546fb87c010800e6d076beef82e3", "sha256": "e9a7208bdebd4cd62808484e34d7a13f67ac7478367022a600de14b02bc65b69" }, "downloads": -1, "filename": "PyCoolPlot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b898546fb87c010800e6d076beef82e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4369, "upload_time": "2018-08-04T07:45:21", "url": "https://files.pythonhosted.org/packages/0f/23/58799d7bec63cfaeeec16fb2abda6c5c698a32b529323bc9568c2a7797a9/PyCoolPlot-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b898546fb87c010800e6d076beef82e3", "sha256": "e9a7208bdebd4cd62808484e34d7a13f67ac7478367022a600de14b02bc65b69" }, "downloads": -1, "filename": "PyCoolPlot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "b898546fb87c010800e6d076beef82e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4369, "upload_time": "2018-08-04T07:45:21", "url": "https://files.pythonhosted.org/packages/0f/23/58799d7bec63cfaeeec16fb2abda6c5c698a32b529323bc9568c2a7797a9/PyCoolPlot-0.0.4.tar.gz" } ] }