# 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/d5/70/010a2127b02fb3ece9f7ad5796fac1e67de3e2fa41341d68cb3ad6776e73/fast_fig-0.5.5.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.5",
"project_urls": {
"Homepage": "https://www.fast-apps.de"
},
"split_keywords": [
"matplotlib",
" figure"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dc8c399e59da41ac4300966b96b2d39d93733ff5d45c5c76e09a09d7447e22a4",
"md5": "25e3cbdcbbc7304164f7fd977b8eaf41",
"sha256": "60627eac45f3ffef5b4e22fe2b5c457088fd655ebfff3cc3badc20e337f868da"
},
"downloads": -1,
"filename": "fast_fig-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "25e3cbdcbbc7304164f7fd977b8eaf41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 8833,
"upload_time": "2025-01-18T19:39:49",
"upload_time_iso_8601": "2025-01-18T19:39:49.541667Z",
"url": "https://files.pythonhosted.org/packages/dc/8c/399e59da41ac4300966b96b2d39d93733ff5d45c5c76e09a09d7447e22a4/fast_fig-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d570010a2127b02fb3ece9f7ad5796fac1e67de3e2fa41341d68cb3ad6776e73",
"md5": "a86cc38f57828e613a78ed0756817f3e",
"sha256": "5df034adba4754d305cb20c6c6099e70afd6c4eaaa445fdb85dbca6e8c7bb3a6"
},
"downloads": -1,
"filename": "fast_fig-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "a86cc38f57828e613a78ed0756817f3e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 7571,
"upload_time": "2025-01-18T19:39:51",
"upload_time_iso_8601": "2025-01-18T19:39:51.334952Z",
"url": "https://files.pythonhosted.org/packages/d5/70/010a2127b02fb3ece9f7ad5796fac1e67de3e2fa41341d68cb3ad6776e73/fast_fig-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-18 19:39:51",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fast_fig"
}