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:
from fast_fig import FFig
A very simple example is:
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.
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
Metadata
Release files for fast-fig 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fast_fig-0.5.5.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / fast_fig-0.5.5.tar.gz
| Download URL | fast_fig-0.5.5.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5df034adba4754d305cb20c6c6099e70afd6c4eaaa445fdb85dbca6e8c7bb3a6
|
|
BLAKE2b-256 checksum How to use checksums |
d570010a2127b02fb3ece9f7ad5796fac1e67de3e2fa41341d68cb3ad6776e73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0
|
Release files / fast_fig-0.5.5-py3-none-any.whl
| Download URL | fast_fig-0.5.5-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60627eac45f3ffef5b4e22fe2b5c457088fd655ebfff3cc3badc20e337f868da
|
|
BLAKE2b-256 checksum How to use checksums |
dc8c399e59da41ac4300966b96b2d39d93733ff5d45c5c76e09a09d7447e22a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0
|