# FaSt_Fig
FaSt_Fig is a wrapper for matplotlib that provides a simple interface for fast and easy plotting.
Written by Fabian Stutzki, fast@fast-apps.de
licensed under MIT
## Usage
The package has to be imported:
```python
from fast_fig import FFig
```
A very simple example is:
```python
fig = FFig()
fig.plot()
fig.show()
```
FaSt_Fig allows for more complex behavior with multiple subplots, legend, grid and saving to multiple files at once.
```python
fig = FFig('PPT',nrows=2) # create figure
fig.plot([1,2,3,1,2,3,4,1,1]) # plot first data set
fig.title('First data set') # set title for subplot
fig.subplot() # set focus to next subplot/axis
fig.plot([0,1,2,3,4],[0,1,1,2,3],label="random") # plot second data set
fig.legend() # generate legend
fig.grid() # show translucent grid to highlight major ticks
fig.xlabel('Data') # create xlabel for second axis
fig.save('test_fig1.png','pdf') # save figure to png and pdf
```
Raw data
{
"_id": null,
"home_page": "https://www.fast-apps.de",
"name": "fast_fig",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "matplotlib, figure",
"author": "Fabian Stutzki",
"author_email": "fast@fast-apps.de",
"download_url": "https://files.pythonhosted.org/packages/8a/a4/48c8e988d2ebb9bb86ef8174a2bf34458db46b7da94803f4ba634f31b1db/fast_fig-0.5.4.tar.gz",
"platform": null,
"description": "# FaSt_Fig\nFaSt_Fig is a wrapper for matplotlib that provides a simple interface for fast and easy plotting.\n\nWritten by Fabian Stutzki, fast@fast-apps.de\n\nlicensed under MIT\n\n## Usage\nThe package has to be imported:\n\n```python\nfrom fast_fig import FFig\n```\n\nA very simple example is:\n\n```python\nfig = FFig()\nfig.plot()\nfig.show()\n```\n\nFaSt_Fig allows for more complex behavior with multiple subplots, legend, grid and saving to multiple files at once.\n\n```python\nfig = FFig('PPT',nrows=2) # create figure\nfig.plot([1,2,3,1,2,3,4,1,1]) # plot first data set\nfig.title('First data set') # set title for subplot\nfig.subplot() # set focus to next subplot/axis\nfig.plot([0,1,2,3,4],[0,1,1,2,3],label=\"random\") # plot second data set\nfig.legend() # generate legend\nfig.grid() # show translucent grid to highlight major ticks\nfig.xlabel('Data') # create xlabel for second axis\nfig.save('test_fig1.png','pdf') # save figure to png and pdf\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "FaSt_Fig is a wrapper for matplotlib with templates.",
"version": "0.5.4",
"project_urls": {
"Homepage": "https://www.fast-apps.de"
},
"split_keywords": [
"matplotlib",
" figure"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c67fb4af3b4571868c57b593a7061af3e1497880be6217c2a5c95f5f7b4e057f",
"md5": "7ff02f49db6b4b6626e9dc1ba6edb52b",
"sha256": "353b9d8d6ae1f3c5b886a70030a18964c5fc9053fcfae964cacea862755d35e0"
},
"downloads": -1,
"filename": "fast_fig-0.5.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7ff02f49db6b4b6626e9dc1ba6edb52b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 8812,
"upload_time": "2024-09-22T14:11:59",
"upload_time_iso_8601": "2024-09-22T14:11:59.405596Z",
"url": "https://files.pythonhosted.org/packages/c6/7f/b4af3b4571868c57b593a7061af3e1497880be6217c2a5c95f5f7b4e057f/fast_fig-0.5.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8aa448c8e988d2ebb9bb86ef8174a2bf34458db46b7da94803f4ba634f31b1db",
"md5": "14287efe276defb316dbfcba1941c47d",
"sha256": "6fd04340a116974348d99e391d8e42b7297f46eec3b0a391558bc5e54508b44e"
},
"downloads": -1,
"filename": "fast_fig-0.5.4.tar.gz",
"has_sig": false,
"md5_digest": "14287efe276defb316dbfcba1941c47d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 8054,
"upload_time": "2024-09-22T14:12:00",
"upload_time_iso_8601": "2024-09-22T14:12:00.933141Z",
"url": "https://files.pythonhosted.org/packages/8a/a4/48c8e988d2ebb9bb86ef8174a2bf34458db46b7da94803f4ba634f31b1db/fast_fig-0.5.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-22 14:12:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fast_fig"
}