Metadata-Version: 2.1
Name: fast_fig
Version: 0.5.2
Summary: FaSt_Fig is a wrapper for matplotlib with templates.
Home-page: https://www.fast-apps.de
License: MIT
Keywords: matplotlib,figure
Author: Fabian Stutzki
Author-email: fast@fast-apps.de
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: logging (>=0.4,<0.5)
Requires-Dist: matplotlib (>=3.6,<4.0)
Requires-Dist: numpy (>=1.2,<2.0)
Description-Content-Type: text/markdown

# 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
```

