{ "info": { "author": "ryutok", "author_email": "ryutokm@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Visualization" ], "description": "=======================\nMatplotlib Axes Aligner\n=======================\n\n.. image:: https://travis-ci.org/ryutok/mpl_axes_aligner.svg?branch=master\n :target: https://travis-ci.org/ryutok/mpl_axes_aligner\n.. image:: https://api.codeclimate.com/v1/badges/86a7122db1585d63fcb9/maintainability\n :target: https://codeclimate.com/github/ryutok/mpl_axes_aligner/maintainability\n :alt: Maintainability\n.. image:: https://api.codeclimate.com/v1/badges/86a7122db1585d63fcb9/test_coverage\n :target: https://codeclimate.com/github/ryutok/mpl_axes_aligner/test_coverage\n :alt: Test Coverage\n.. image:: https://img.shields.io/pypi/v/nine.svg\n :target: https://pypi.org/project/mpl-axes-aligner/\n :alt: PyPI\n.. image:: https://readthedocs.org/projects/matplotlib-axes-aligner/badge/?version=latest\n :target: https://matplotlib-axes-aligner.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n.. image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n :target: https://github.com/ryutok/mpl_axes_aligner/blob/master/LICENSE\n\n\nOverview\n========\n\n*Matplotlib axes aligner* (``mpl_axes_aligner``) package contains the modules which adjust the plotting range of `matplotlib.axes.Axes `_ objects to align their origins.\n\n- ``mpl_axes_aligner.shift`` expands or shifts the plotting range of a matplotlib axis to align the origin with the given position.\n- ``mpl_axes_aligner.align`` adjust the plotting range of two matplotlib axes to align their origins with the given position.\n\n\nUsage\n=====\n\n::\n\n import numpy as np\n import matplotlib.pyplot as plt\n import mpl_axes_aligner\n\n x = np.arange(0.0, 30, 0.1)\n y1 = 0.1 * x * np.sin(x)\n y2 = 0.001*x**3 - 0.03*x**2 + 0.12*x\n\n fig = plt.figure()\n ax1 = fig.add_subplot(111)\n ax2 = ax1.twinx()\n\n ax1.plot(x, y1, color='blue', label='Plot 1')\n ax2.plot(x, y2, color='red', label='Plot 2')\n\n # Align y = 0 of ax1 and ax2 with the center of figure.\n mpl_axes_aligner.align.yaxes(ax1, 0, ax2, 0, 0.5)\n\n plt.show()\n\n.. image:: https://github.com/ryutok/mpl_axes_aligner/blob/master/docs/img/intro_plt.png?raw=true\n\n\nDocumentation\n=============\n\nhttps://matplotlib-axes-aligner.rtfd.io\n\n\nInstallation\n============\nInstall from `PyPI `_::\n\n pip install mpl-axes-aligner\n\n\nRequirements\n============\n\n- Python == 2.7, 3.4, 3.5, 3.6\n- Matplotlib == 2.2, 3.0\n\nPython 3.7 may be available, but it is not checked.\n\n\nLicense\n=======\n\n`MIT License `_\n\n\nAuthor\n======\n\n`ryutok `_\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/ryutok/mpl_axes_aligner", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mpl-axes-aligner", "package_url": "https://pypi.org/project/mpl-axes-aligner/", "platform": "", "project_url": "https://pypi.org/project/mpl-axes-aligner/", "project_urls": { "Homepage": "https://github.com/ryutok/mpl_axes_aligner" }, "release_url": "https://pypi.org/project/mpl-axes-aligner/1.1/", "requires_dist": null, "requires_python": "", "summary": "Adjust the plotting range of matplotlib.axes.Axes objects to align the origins with the given position", "version": "1.1" }, "last_serial": 4464585, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6f1a1fc517858d600a3da4fb18f6c6bc", "sha256": "f6af6afcd40ae94b0ab8bceccf20bb5197214641a4ef8c974419b7c2dd5b4672" }, "downloads": -1, "filename": "mpl_axes_aligner-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6f1a1fc517858d600a3da4fb18f6c6bc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4907, "upload_time": "2018-11-01T17:24:15", "url": "https://files.pythonhosted.org/packages/82/45/249407af82c682bcbd9743ac26f2d51a831c2dc1c73014afea9dd38830ff/mpl_axes_aligner-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d68d2f5de4113927e5ff53ae4bff3f76", "sha256": "71c85f6b2f9b6c8f6b96597a9562e5a38ecb2393cb00f981a59ac544d21041bf" }, "downloads": -1, "filename": "mpl_axes_aligner-0.1.tar.gz", "has_sig": false, "md5_digest": "d68d2f5de4113927e5ff53ae4bff3f76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3020, "upload_time": "2018-11-01T17:24:16", "url": "https://files.pythonhosted.org/packages/cd/65/5a8a2f3d290e59d7e400251a31b951dee42157ae24453e85243bc5ad01df/mpl_axes_aligner-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "be5c2bf2970895c8a6ec97cf7890b6cf", "sha256": "fddbe72925039137b3cd11f1da2ba66875dc91fc449ef214c9bb3a7d7122cf76" }, "downloads": -1, "filename": "mpl_axes_aligner-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "be5c2bf2970895c8a6ec97cf7890b6cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5080, "upload_time": "2018-11-02T13:58:52", "url": "https://files.pythonhosted.org/packages/65/37/f364a80e4195d5e065a109e2ee9ca36d69d5866c76f29fdda7958d4a751a/mpl_axes_aligner-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c52fb1e69709fad39dde776a5f3f014", "sha256": "9642572abc0292328f807e427e2d094cc26b8d904d64c350a80b6f00d865ea04" }, "downloads": -1, "filename": "mpl_axes_aligner-1.0.tar.gz", "has_sig": false, "md5_digest": "1c52fb1e69709fad39dde776a5f3f014", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3210, "upload_time": "2018-11-02T13:58:54", "url": "https://files.pythonhosted.org/packages/3c/95/f85a5b155f18106fa17c20d74a90aba04bad564031a31c3b530f8ea7b9de/mpl_axes_aligner-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "ff78c96d662392cc750c5085d72c5145", "sha256": "b4a8e504871ee82158fadcbdee413a096e24ea7c01bd95096df001d9971ac33f" }, "downloads": -1, "filename": "mpl_axes_aligner-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ff78c96d662392cc750c5085d72c5145", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5422, "upload_time": "2018-11-08T07:58:10", "url": "https://files.pythonhosted.org/packages/38/1f/2b1bbc8b63581af8597537c1a34a9b36e8c9f0112ffecaa932861b628fa0/mpl_axes_aligner-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7656196a1832e55184560a8edd74b3c", "sha256": "c9c5a6983a3b2f772f470b4889df883ae56c3b5ab5fc4a8fa3e71440922c87ed" }, "downloads": -1, "filename": "mpl_axes_aligner-1.1.tar.gz", "has_sig": false, "md5_digest": "b7656196a1832e55184560a8edd74b3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3649, "upload_time": "2018-11-08T07:58:11", "url": "https://files.pythonhosted.org/packages/bb/03/d211088e74f1622bc2641b2582fa4482d390a50a28eef3d8e327e8434e3e/mpl_axes_aligner-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff78c96d662392cc750c5085d72c5145", "sha256": "b4a8e504871ee82158fadcbdee413a096e24ea7c01bd95096df001d9971ac33f" }, "downloads": -1, "filename": "mpl_axes_aligner-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ff78c96d662392cc750c5085d72c5145", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5422, "upload_time": "2018-11-08T07:58:10", "url": "https://files.pythonhosted.org/packages/38/1f/2b1bbc8b63581af8597537c1a34a9b36e8c9f0112ffecaa932861b628fa0/mpl_axes_aligner-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7656196a1832e55184560a8edd74b3c", "sha256": "c9c5a6983a3b2f772f470b4889df883ae56c3b5ab5fc4a8fa3e71440922c87ed" }, "downloads": -1, "filename": "mpl_axes_aligner-1.1.tar.gz", "has_sig": false, "md5_digest": "b7656196a1832e55184560a8edd74b3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3649, "upload_time": "2018-11-08T07:58:11", "url": "https://files.pythonhosted.org/packages/bb/03/d211088e74f1622bc2641b2582fa4482d390a50a28eef3d8e327e8434e3e/mpl_axes_aligner-1.1.tar.gz" } ] }