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.1
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.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / fast_fig-0.5.1.tar.gz
| Download URL | fast_fig-0.5.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59dc365ea1aa47d553b8e91d5712cf1c49fe4b85b24fc2d25db0e65e0fe9274f
|
|
BLAKE2b-256 checksum How to use checksums |
8cb1096cce4cc255db9353b3036b199ac8a5a11ca48da5fc113cbf137387eb03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.4.0
|
Release files / fast_fig-0.5.1-py3-none-any.whl
| Download URL | fast_fig-0.5.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
589ba9b87c04592a23cf91b2681482e3c4c74d69dfd1e867939757f95ae8fe5c
|
|
BLAKE2b-256 checksum How to use checksums |
10e970489bb9699cc8c080de73ac2edabba743cafb57a55f5d52c538df47cb0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.4.0
|