{ "info": { "author": "Roman Sandler", "author_email": "rsandler00@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# plotly-scientific-plots\n\nThis python library is meant to augment the plotly and dash visualization libraries.\nIt is designed to facilitate rapid and beautiful data visualizations for research scientists and data scientists.\n\nIts advantages over naive plotly are:\n* One-line commands to make plots\n* Integrated scatistical testing above plots\n* Expanded plot types (such as confusion amtrices, ROC plots)\n* more 'Matlab-like' interface for those making the Matlab --> python transition\n* Easily make full multi-figure dashboards in a single line using Dash\n\n## Requirements and installation\n\nRequired packages:\n* numpy\n* scipy\n* plotly\n* colorlover\n* dash\n* dash_core_components\n* dash_html_components\n\nTo install, simply use `pip install plotly-scientific-plots`\n\n\n**NOTE**: to get latest version install directly from git, which is more commonly updated. Use the following: \n`pip install git+https://github.com/rsandler00/plotly-scientific-plots.git`\n\n\nTo import use `import plotly_scientific_plots as psp`\n\n## Examples and Usage\n\nPlotly's key strength is its ability to do interactive visualizations. \nFor scientists, this allows novel ways of exploring data with mouse clicks and hovers. **To see a full list of plotly-scientific-tools examples and their descriptions, go through the `examples.ipynb` \nin nbviewer by clicking [here][1]**\n\nBelow, are a limited set of examples to give the feel of how `psp` works:\n\n#### Sample plots\n\n##### Two dataset histograms:\n\n```python\npsp.plot2Hists(data_source_1, data_source_2, names=['Data 1','Data 2'],\n normHist=True, title='Comparison of 2 Data Sources',\n KS=True, MW=True, T=True)\n```\n\nNotice that the statistics box only appears when mouse hovers on the databar of the given color. \n\n![plot2Hist_1](images/plot2Hist_1.png?raw=true \"plot2Hist_1\")\n\n\n##### Scatter + Contour Plot:\n\n```python\npsp.scatterHistoPlot(data_source_1, data_source_3, title='Contour of x_var & y_var', \n xlbl='x_var label', ylbl='y_var label')\n```\n![plot2Hist_1](images/contour_and_scatter.png?raw=true \"contour_and_scatter\")\n\n\n##### Multiple Dataset Correlations + Stats:\n\n```python\npsp.corrPlot([data_source_1, data_source_11, data_source_12], [data_source_3, data_source_31, \n data_source_32], names=['datasetA', 'datasetB', 'datasetC'],addCorr=True, \n addCorrLine=True, title='Correlation of x_var & y_var', xlbl='x_var label', \n ylbl='y_var label')\n```\n![plot2Hist_1](images/corrPlot_multi.png?raw=true \"corrPlot_multi\")\n\n\n##### Polar Plot\n\n```python\npsp.plotPolar([polar1], numbins=20, title='Polar Distribution')\n```\n![plot2Hist_1](images/polar1.png?raw=true \"polar1\")\n\n\n#### Dashboards\n\nTo make multi-figure dashboards simply collect all desired figures in a nested list. Each outer list will correspond \nto a column in the dashboard, and each figure within each outer list will be a row in the column. The pass that list \nto `psp.startDashboard`. A flask-based web-server will start showing the figures in the browser at the provided port \n(default port=8050). For example:\n\n```python\nplot1 = psp.plotHist(..., plot=False)\nplot2 = psp.plot2Hists(..., plot=False)\nplot3 = psp.corrPlot(..., plot=False)\nplot4 = psp.plotPolar(..., plot=False)\ndash_plots = [\n [plot1, plot2],\n [plot3, plot4]\n ]\npsp.startDashboard(dash_plots, port=8052)\n```\n\nAn example dashboard appears below:\n\n![plot2Hist_1](images/dashboard1.png?raw=true \"dashboard1\")\n\n\n\n\n[1]: https://nbviewer.jupyter.org/github/rsandler00/plotly-scientific-plots/blob/master/examples.ipynb\n\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rsandler00/plotly-scientific-tools", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "plotly-scientific-plots", "package_url": "https://pypi.org/project/plotly-scientific-plots/", "platform": "", "project_url": "https://pypi.org/project/plotly-scientific-plots/", "project_urls": { "Homepage": "https://github.com/rsandler00/plotly-scientific-tools" }, "release_url": "https://pypi.org/project/plotly-scientific-plots/0.1.0.6/", "requires_dist": [ "colorlover", "dash", "dash-core-components", "dash-html-components", "numpy", "plotly", "scipy", "sklearn" ], "requires_python": "", "summary": "Python package extending plotly for scientific computing and visualization", "version": "0.1.0.6" }, "last_serial": 4361052, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "35f830edb2bdabed0bf783e6ed24fb42", "sha256": "4084033e830bc303e00fcd3b054c7f33505b9c2eb1b984cf1bec317dec3daf8f" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "35f830edb2bdabed0bf783e6ed24fb42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24791, "upload_time": "2018-07-31T22:14:15", "url": "https://files.pythonhosted.org/packages/25/19/7680d95b0f80f5924ae2616cc33ae6b41b7c4e1bab7a69e2af4cecee61f3/plotly_scientific_plots-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4bbace52a08f0431629431615d284c3", "sha256": "dbdf499c36e31aed1ed9b0daff3b61875ee1fe656f118bfade64c75620470ab9" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.tar.gz", "has_sig": false, "md5_digest": "c4bbace52a08f0431629431615d284c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23269, "upload_time": "2018-07-31T22:14:16", "url": "https://files.pythonhosted.org/packages/55/3e/bce89f20cb4ebf09a0f808a77e8464816255401f548bfb4b5be23df95536/plotly-scientific-plots-0.1.tar.gz" } ], "0.1.0.1": [ { "comment_text": "", "digests": { "md5": "ffc5963e5e4549976239c8259285cfc6", "sha256": "09b9967e69fe80ca6810e11bd6323ea91508824172910f940d679b41a70a83f2" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ffc5963e5e4549976239c8259285cfc6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24826, "upload_time": "2018-07-31T22:26:41", "url": "https://files.pythonhosted.org/packages/ea/b5/c476aa1d837f26aa8e4eb2fbb7b33fab4d41d7290f701b24fc337135db72/plotly_scientific_plots-0.1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d031490531ec71ec073ea8b029a08c4", "sha256": "84185eb4f8dde703ddfd02eb16a1d4b13c4ac0c8cc8c9e105bab85053ed5adf6" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.1.tar.gz", "has_sig": false, "md5_digest": "9d031490531ec71ec073ea8b029a08c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23275, "upload_time": "2018-07-31T22:26:42", "url": "https://files.pythonhosted.org/packages/25/eb/5d89a172b176058263b66e193bc1486e27c4a12643295c11aeba2c862b4e/plotly-scientific-plots-0.1.0.1.tar.gz" } ], "0.1.0.2": [ { "comment_text": "", "digests": { "md5": "84938510484e3bda48492538f4981795", "sha256": "eb33f27357885774e893cf0d6415537519de1520152865bc6b40033e49c67c8a" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "84938510484e3bda48492538f4981795", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 48566, "upload_time": "2018-08-02T17:58:10", "url": "https://files.pythonhosted.org/packages/d6/8d/969dc933b1b333c069970b23c59aa01b519f87e3691e7a173bfb2ff63980/plotly_scientific_plots-0.1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4b5ea2313b625a9247c421361441886", "sha256": "d439609dc16f82f5d11487ec8bf1a99a5702f51f2b7757190047bc08c03db5f3" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.2.tar.gz", "has_sig": false, "md5_digest": "d4b5ea2313b625a9247c421361441886", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24641, "upload_time": "2018-08-02T17:58:12", "url": "https://files.pythonhosted.org/packages/68/97/0794381972870aae50930015188aabab16f6a54451a4bb9283741539ef63/plotly-scientific-plots-0.1.0.2.tar.gz" } ], "0.1.0.3": [ { "comment_text": "", "digests": { "md5": "5fe27e517fc6c88c28be9c325dcb1650", "sha256": "085e6cc3e1aa3894f9e725376df6f0dbeb032d6613d086990741df7c194d619b" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "5fe27e517fc6c88c28be9c325dcb1650", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 49087, "upload_time": "2018-08-02T19:13:06", "url": "https://files.pythonhosted.org/packages/b8/ed/7da466592c63ae7a3c6f0c06af8dd11cd5f904d8775f1cb497a76d15808c/plotly_scientific_plots-0.1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a9f0cf5ea8343f1d5a540a9ee53c470", "sha256": "e8004c8687827a2d388b99df56551a99cf9f0b5d6ae776672efbfffa37c407ba" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.3.tar.gz", "has_sig": false, "md5_digest": "8a9f0cf5ea8343f1d5a540a9ee53c470", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24739, "upload_time": "2018-08-02T19:13:07", "url": "https://files.pythonhosted.org/packages/28/02/dfab2645ac97381a3f4e9ad0571bda231f65214929f999577da90374180c/plotly-scientific-plots-0.1.0.3.tar.gz" } ], "0.1.0.4": [ { "comment_text": "", "digests": { "md5": "ac94f0ead1872b60589d38e94b55b368", "sha256": "6e44ce54a43561abcf9a5b10828c9e3109b3c66ad03c185d8b02cb42d310f11e" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ac94f0ead1872b60589d38e94b55b368", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 56080, "upload_time": "2018-08-08T23:30:57", "url": "https://files.pythonhosted.org/packages/67/a0/d3156e80e26b26005ba58d7392adb6136566074b0878f394efe86bbbd334/plotly_scientific_plots-0.1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8c11314a88037cd3b1d0ca4826164ac", "sha256": "4171727d5757da2616d97c0938735b7ca38643096733038f57969fec458d95fc" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.4.tar.gz", "has_sig": false, "md5_digest": "a8c11314a88037cd3b1d0ca4826164ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23800, "upload_time": "2018-08-08T23:30:59", "url": "https://files.pythonhosted.org/packages/1b/7d/be10601da2127394469eb39417aa50ea149fe1ac003617071e68ba25f394/plotly-scientific-plots-0.1.0.4.tar.gz" } ], "0.1.0.5": [ { "comment_text": "", "digests": { "md5": "edbdd9023ffcfd47d954cf564015a508", "sha256": "8197cb8ec0f8a0713c2ea6e4393e192949a63f2b76e10c744eacb665b81cc292" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "edbdd9023ffcfd47d954cf564015a508", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 57634, "upload_time": "2018-08-16T17:30:43", "url": "https://files.pythonhosted.org/packages/0a/93/226b833290ae2178f979ffb3876e08369742fb0bb7cdb94f996157c00f13/plotly_scientific_plots-0.1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a7ff44d7a9083b48ebef4335e814483", "sha256": "8b3e7195bf61625c1135096ee86738a8e79f021d358c8416484d1fd33c563af6" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.5.tar.gz", "has_sig": false, "md5_digest": "4a7ff44d7a9083b48ebef4335e814483", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25208, "upload_time": "2018-08-16T17:30:45", "url": "https://files.pythonhosted.org/packages/9c/22/c16aa282cdf8a52506026e185a55bfc341fe12594da6a7314429ff984c58/plotly-scientific-plots-0.1.0.5.tar.gz" } ], "0.1.0.6": [ { "comment_text": "", "digests": { "md5": "75fb18c503a564072c2c54c9a5116404", "sha256": "a2bcc1f2a2f506c688a6e2e6176b66fa3c5aee1c18df77baa9e1c9cc4ba1aefe" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "75fb18c503a564072c2c54c9a5116404", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 61442, "upload_time": "2018-10-10T18:15:37", "url": "https://files.pythonhosted.org/packages/87/f2/82b13cce5508ca5b54c23cd3b080d50a2fd2fd0d6fbf68cacc4fe73f7df0/plotly_scientific_plots-0.1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "095137a911fa764ac7e238107db0cb1f", "sha256": "cc00d2ca8e90430ac513e1447dbef86d2dfe8a5367e5e10eaaabaca6b89d0b7c" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.6.tar.gz", "has_sig": false, "md5_digest": "095137a911fa764ac7e238107db0cb1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26627, "upload_time": "2018-10-10T18:15:39", "url": "https://files.pythonhosted.org/packages/8f/40/56a0c71bd530670c937ea5fddf11317ab5a7bb1e9a1e7901bcec9b2ddadf/plotly-scientific-plots-0.1.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75fb18c503a564072c2c54c9a5116404", "sha256": "a2bcc1f2a2f506c688a6e2e6176b66fa3c5aee1c18df77baa9e1c9cc4ba1aefe" }, "downloads": -1, "filename": "plotly_scientific_plots-0.1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "75fb18c503a564072c2c54c9a5116404", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 61442, "upload_time": "2018-10-10T18:15:37", "url": "https://files.pythonhosted.org/packages/87/f2/82b13cce5508ca5b54c23cd3b080d50a2fd2fd0d6fbf68cacc4fe73f7df0/plotly_scientific_plots-0.1.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "095137a911fa764ac7e238107db0cb1f", "sha256": "cc00d2ca8e90430ac513e1447dbef86d2dfe8a5367e5e10eaaabaca6b89d0b7c" }, "downloads": -1, "filename": "plotly-scientific-plots-0.1.0.6.tar.gz", "has_sig": false, "md5_digest": "095137a911fa764ac7e238107db0cb1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26627, "upload_time": "2018-10-10T18:15:39", "url": "https://files.pythonhosted.org/packages/8f/40/56a0c71bd530670c937ea5fddf11317ab5a7bb1e9a1e7901bcec9b2ddadf/plotly-scientific-plots-0.1.0.6.tar.gz" } ] }