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.4
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.4.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / fast_fig-0.5.4.tar.gz
| Download URL | fast_fig-0.5.4.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fd04340a116974348d99e391d8e42b7297f46eec3b0a391558bc5e54508b44e
|
|
BLAKE2b-256 checksum How to use checksums |
8aa448c8e988d2ebb9bb86ef8174a2bf34458db46b7da94803f4ba634f31b1db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.6 Darwin/24.0.0
|
Release files / fast_fig-0.5.4-py3-none-any.whl
| Download URL | fast_fig-0.5.4-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
353b9d8d6ae1f3c5b886a70030a18964c5fc9053fcfae964cacea862755d35e0
|
|
BLAKE2b-256 checksum How to use checksums |
c67fb4af3b4571868c57b593a7061af3e1497880be6217c2a5c95f5f7b4e057f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.6 Darwin/24.0.0
|