{
"info": {
"author": "James Yu",
"author_email": "jqyu@eee.hku.hk",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Scientific/Engineering"
],
"description": "MatPlotTheme\n============\n\n.. image:: https://pypip.in/version/MatPlotTheme/badge.svg\n :target: https://pypi.python.org/pypi/MatPlotTheme\n.. image:: https://pypip.in/py_versions/MatPlotTheme/badge.svg\n :target: https://pypi.python.org/pypi/MatPlotTheme\n.. image:: https://pypip.in/license/MatPlotTheme/badge.svg\n :target: http://opensource.org/licenses/MIT\n.. image:: https://travis-ci.org/James-Yu/MatPlotTheme.svg?branch=master\n :target: https://travis-ci.org/James-Yu/MatPlotTheme\n\nMatPlotTheme is a theming library for `MatPlotLib `_. Greatly inspired by `prettyplotlib `_, MatPlotTheme aims to provide easy-to-use APIs for creating proper and attractive data visualizations.\n\nIn MatPlotTheme, theming MatPlotLib figures is controlled by ``style`` and ``palette``, which defines how elements are customized and which colors are used, respectively. As MatPlotTheme provides multiple styles/palettes (at least that is what I am working on), using the library is as simple as picking a style-palette combination and plot. What's more, MatPlotTheme inherits MatPlotLib's API configuration, which means existing code can be migrated with minimal effort.\n\nExamples\n--------\n\n.. image:: https://raw.githubusercontent.com/James-Yu/MatPlotTheme/master/matplottheme/tests/baseline_images/summary/default.png\n :width: 100%\n\nDocumentation\n-------------\nRead `documentation `_.\n\nUsage\n-----\n\nMatPlotTheme provides a default ``Style`` and a default ``Palette``. Each of them are python classes and all other styles/palettes are derived classes of them. ``matplottheme`` provides interfaces to all plotting methods in ``Style``, which enable library usage like ``matplottheme.plot(ax, x, y)``.\n\n.. code-block:: python\n\n # Use API provided by matplottheme module\n import matplottheme as mpt\n import matplotlib.pylab as plt\n import numpy as np\n \n x = np.arange(1000)\n y = np.random.normal(size=1000).cumsum()\n\n fig = plt.figure()\n ax = fig.add_subplot(111)\n # MatPlotTheme plots a line using ggplot2 style/palette\n mpt.set_theme('ggplot2', 'ggplot2')\n mpt.plot(ax, x, y)\n \nThis code block can also generate the same plot as the first one.\n\n.. code-block:: python\n\n # Use style/palette objects\n from matplottheme.style.ggplot2 import ggplot2Style\n from matplottheme.palette.ggplot2 import ggplot2Palette\n import matplotlib.pylab as plt\n import numpy as np\n \n x = np.arange(1000)\n y = np.random.normal(size=1000).cumsum()\n\n fig = plt.figure()\n ax = fig.add_subplot(111)\n # Manually using ggplot2 style/palette\n ggplot2Style(ggplot2Palette()).plot(ax, x, y)\n\nDependency\n----------\n\n- `MatPlotLib `_. ``pip install matplotlib`` is the most simple installation method.\n\nLicense\n-------\nThe MIT License (MIT)\n\nCopyright (c) 2014 James Yu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.",
"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/James-Yu/MatPlotTheme",
"keywords": null,
"license": "MIT License",
"maintainer": null,
"maintainer_email": null,
"name": "MatPlotTheme",
"package_url": "https://pypi.org/project/MatPlotTheme/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/MatPlotTheme/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/James-Yu/MatPlotTheme"
},
"release_url": "https://pypi.org/project/MatPlotTheme/0.1.2/",
"requires_dist": null,
"requires_python": null,
"summary": "MatPlotTheme is a theming library for MatPlotLib.",
"version": "0.1.2"
},
"last_serial": 1175125,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "b1a63df59289790da84b021db8963f2c",
"sha256": "7733d568cf54b5ca4ed5e6754b21db1ff6204262069692238377d3239f153177"
},
"downloads": -1,
"filename": "MatPlotTheme-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b1a63df59289790da84b021db8963f2c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 829391,
"upload_time": "2014-07-26T07:32:13",
"url": "https://files.pythonhosted.org/packages/e1/69/208668488cfc66d717bea8c525cb14cc0e64c02357f2af88a95241c12632/MatPlotTheme-0.0.1.tar.gz"
}
],
"0.0.1.dev": [],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "603e850209aad77ecf25ce9b8177220d",
"sha256": "a71b39d38c321de066b54d4d1d1263dd15f74a68163d59505749d4ad225055e1"
},
"downloads": -1,
"filename": "MatPlotTheme-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "603e850209aad77ecf25ce9b8177220d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1509843,
"upload_time": "2014-07-27T14:12:21",
"url": "https://files.pythonhosted.org/packages/f7/85/73f3de9c0ae2251505d7dfb346443d530d78acab7ad343f85072b8a31f82/MatPlotTheme-0.1.0.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "e2c098561abf7bed925d51f5da3e841a",
"sha256": "20f4e3c11182dea9a0e44f0786e21b39ab79626c0c006848771408b232380ac6"
},
"downloads": -1,
"filename": "MatPlotTheme-0.1.2.zip",
"has_sig": false,
"md5_digest": "e2c098561abf7bed925d51f5da3e841a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1523557,
"upload_time": "2014-07-31T04:49:33",
"url": "https://files.pythonhosted.org/packages/a6/93/cfa07edb8228eeaf4f94fc8911a8384905f5616a3249703bbb30a7d0d8e3/MatPlotTheme-0.1.2.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e2c098561abf7bed925d51f5da3e841a",
"sha256": "20f4e3c11182dea9a0e44f0786e21b39ab79626c0c006848771408b232380ac6"
},
"downloads": -1,
"filename": "MatPlotTheme-0.1.2.zip",
"has_sig": false,
"md5_digest": "e2c098561abf7bed925d51f5da3e841a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1523557,
"upload_time": "2014-07-31T04:49:33",
"url": "https://files.pythonhosted.org/packages/a6/93/cfa07edb8228eeaf4f94fc8911a8384905f5616a3249703bbb30a7d0d8e3/MatPlotTheme-0.1.2.zip"
}
]
}