| Name | mplotkit JSON |
| Version |
0.4.0
JSON |
| download |
| home_page | https://github.com/martok/py-plotkit |
| Summary | Collection of helpers for plotting with matplotlib |
| upload_time | 2024-09-10 17:40:22 |
| maintainer | None |
| docs_url | None |
| author | Martok |
| requires_python | >=3.6 |
| license | MIT |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# PlotKit
Collection of some helpers and functions, mostly used by [martok](https://github.com/martok).
## Installation
Install using pip:
```pip install mplotkit```
## Usage
Minimal example:
```python
import numpy as np
import plotkit.plotkit as pk
pk.set_style('print')
fig, (ax1, ax2) = pk.new_regular(1,2)
t = np.arange(0.0, 2.0, 0.01)
ax1.plot(t, 1 + np.sin(2*np.pi*t))
pk.set_grid(ax1)
ax2.plot(t, 1 + np.cos(2*np.pi*t))
pk.set_ticks(ax2)
pk.set_grid(ax2)
pk.finalize(fig, 'example_output.png')
```
Result:

Raw data
{
"_id": null,
"home_page": "https://github.com/martok/py-plotkit",
"name": "mplotkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Martok",
"author_email": "martok@martoks-place.de",
"download_url": "https://files.pythonhosted.org/packages/74/a8/8d26daeddcd14f0d024040c1d81eca199e5a04a0be9663f94a35f06cdf97/mplotkit-0.4.0.tar.gz",
"platform": null,
"description": "# PlotKit\r\n\r\nCollection of some helpers and functions, mostly used by [martok](https://github.com/martok).\r\n\r\n\r\n## Installation\r\n\r\nInstall using pip:\r\n\r\n```pip install mplotkit```\r\n\r\n## Usage\r\n\r\nMinimal example:\r\n\r\n```python\r\nimport numpy as np\r\nimport plotkit.plotkit as pk\r\n\r\npk.set_style('print')\r\n\r\nfig, (ax1, ax2) = pk.new_regular(1,2)\r\nt = np.arange(0.0, 2.0, 0.01)\r\nax1.plot(t, 1 + np.sin(2*np.pi*t))\r\npk.set_grid(ax1)\r\nax2.plot(t, 1 + np.cos(2*np.pi*t))\r\npk.set_ticks(ax2)\r\npk.set_grid(ax2)\r\npk.finalize(fig, 'example_output.png')\r\n```\r\nResult:\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Collection of helpers for plotting with matplotlib",
"version": "0.4.0",
"project_urls": {
"Bug Tracker": "https://github.com/martok/py-plotkit/issues",
"Homepage": "https://github.com/martok/py-plotkit"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00510edf32667337c1823ed093950d30ba8833a4bbe604e53d1eb410c1ab5458",
"md5": "1d8dd28d686f9d04131b23255b46c590",
"sha256": "5a4909200d5cf0831edf10b2337282dc4a74e863e8fe3e5721be70f38862cade"
},
"downloads": -1,
"filename": "mplotkit-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1d8dd28d686f9d04131b23255b46c590",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 9028,
"upload_time": "2024-09-10T17:40:21",
"upload_time_iso_8601": "2024-09-10T17:40:21.489362Z",
"url": "https://files.pythonhosted.org/packages/00/51/0edf32667337c1823ed093950d30ba8833a4bbe604e53d1eb410c1ab5458/mplotkit-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "74a88d26daeddcd14f0d024040c1d81eca199e5a04a0be9663f94a35f06cdf97",
"md5": "de2405aacd73cc2e6dddaca5f6903cc3",
"sha256": "24ea72a9e21b10d68ae7395c4adcf301db9742bec3d12c0dec8b3074630954f2"
},
"downloads": -1,
"filename": "mplotkit-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "de2405aacd73cc2e6dddaca5f6903cc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 8026,
"upload_time": "2024-09-10T17:40:22",
"upload_time_iso_8601": "2024-09-10T17:40:22.941306Z",
"url": "https://files.pythonhosted.org/packages/74/a8/8d26daeddcd14f0d024040c1d81eca199e5a04a0be9663f94a35f06cdf97/mplotkit-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-10 17:40:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "martok",
"github_project": "py-plotkit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mplotkit"
}