{ "info": { "author": "Ananth Sridharan", "author_email": "sridharan.ananth@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# python_plot_wrappers\nA wrapper for making polished multi-line plots with matplotlib. \nI wrote this as an easy-to-access interface to make cleaner looking plot code, and not have to retype \npyplot syntax over and over. Allows for passing data in as nested dictionaries. \nAll lines are created using a single x-axis data set - essentially a setup to visualize parametric sweeps.\n\nSee sample images by following links below:\n\nhttps://cloud.githubusercontent.com/assets/15716194/11058820/7b1098be-8763-11e5-91d6-53bd5d71437a.png\n\nhttps://cloud.githubusercontent.com/assets/15716194/11058821/7b109788-8763-11e5-9c2c-ceb7db39b980.png\n\nPre-requisites:\npython + matplotlib, numpy, scipy, latex + texlive-fonts-extra, (and maybe texlive-full)\n\nUsage: \n\nplot_wrapper(plot_data, keys, labels, save_folder)\n\nInstructions:\n\nplot_data : \nDictionary (level 1) that contains multiple (level 2) dictionaries. \nEach level 2 dictionary corresponds to a line in the figure(s), and must have the following key/value pairs:\n\n data['x'] = x # list of x-axis values to be plotted\n\n data['xlbl'] = 'X axis label' # string defining x-axis label\n\n data['lstyle'] = '-' # line style. can be '--', '-', '-.' or ':'. Recommend first 2\n\n data['mtype'] = 's' # Marker type for line. Recommend 's','o','^' or '' for none\n\n data['keyname']= y # data to be plotted on the y axis\n\n data['lcolor'] = 'r' # line color. Can be 'r', 'b', 'k', 'm',.... \n \n\nkeys : list of data keys in the level-2 dictionaries that need to be plotted. If multiple level-2 dictionaries havedata under the same key name, these data sets are plotted on the same figure.\n\nlabels : y-axis labels (list of strings) that are applied to the y-axis label for each figure, corresponding to entries in the list \"keys\". If keys and labels are of different lengths, the shorter list is used to generate figures since I used the zip function.\n \nsave_folder : path where you want to save all images. Right now uses png format. \n\nFeel free to modify/add.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nenanth/python_plot_wrappers", "keywords": null, "license": "Creative Commons Attribution-Noncommercial-Share Alike license", "maintainer": null, "maintainer_email": null, "name": "python_plot_wrapper", "package_url": "https://pypi.org/project/python_plot_wrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python_plot_wrapper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nenanth/python_plot_wrappers" }, "release_url": "https://pypi.org/project/python_plot_wrapper/0.1beta/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1beta" }, "last_serial": 1810780, "releases": { "0.1beta": [ { "comment_text": "", "digests": { "md5": "7e71bc545b9bbf04fd9123b029e8f507", "sha256": "a91ff7ce9b2cee1d9c0e4c21d89ad299669bd9127b618d1737a807c7ea6bdebc" }, "downloads": -1, "filename": "python_plot_wrapper-0.1beta.linux-x86_64.exe", "has_sig": false, "md5_digest": "7e71bc545b9bbf04fd9123b029e8f507", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 69415, "upload_time": "2015-11-11T02:25:15", "url": "https://files.pythonhosted.org/packages/6f/80/35577bf36b3f75c579ffd3840a0d45fb2ca9004c33270d00e2dbed95e196/python_plot_wrapper-0.1beta.linux-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "8781722a849517a489d52137edcd2bdf", "sha256": "396d3e5938afb06775c36d4a5bf1d32fcbaff8b449103f4e81fd53a813d89d3d" }, "downloads": -1, "filename": "python_plot_wrapper-0.1beta.tar.gz", "has_sig": false, "md5_digest": "8781722a849517a489d52137edcd2bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4925, "upload_time": "2015-11-11T02:25:05", "url": "https://files.pythonhosted.org/packages/9d/2c/76748ba726d0c86751003b46811fdfadd3a4ab0dc74a1d3fb0ea5ddc32e6/python_plot_wrapper-0.1beta.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e71bc545b9bbf04fd9123b029e8f507", "sha256": "a91ff7ce9b2cee1d9c0e4c21d89ad299669bd9127b618d1737a807c7ea6bdebc" }, "downloads": -1, "filename": "python_plot_wrapper-0.1beta.linux-x86_64.exe", "has_sig": false, "md5_digest": "7e71bc545b9bbf04fd9123b029e8f507", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 69415, "upload_time": "2015-11-11T02:25:15", "url": "https://files.pythonhosted.org/packages/6f/80/35577bf36b3f75c579ffd3840a0d45fb2ca9004c33270d00e2dbed95e196/python_plot_wrapper-0.1beta.linux-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "8781722a849517a489d52137edcd2bdf", "sha256": "396d3e5938afb06775c36d4a5bf1d32fcbaff8b449103f4e81fd53a813d89d3d" }, "downloads": -1, "filename": "python_plot_wrapper-0.1beta.tar.gz", "has_sig": false, "md5_digest": "8781722a849517a489d52137edcd2bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4925, "upload_time": "2015-11-11T02:25:05", "url": "https://files.pythonhosted.org/packages/9d/2c/76748ba726d0c86751003b46811fdfadd3a4ab0dc74a1d3fb0ea5ddc32e6/python_plot_wrapper-0.1beta.tar.gz" } ] }