FaStFig
FaStFig 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:
import fastfig
A very simple example is:
fig = fastfig.Fig()
fig.plot()
fig.show()
FaStFig allows for more complex behavior with multiple subplots, legend, grid and saving to multiple files at once.
fig = fastfig.Fig('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.0
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.0.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / fast_fig-0.5.0.tar.gz
| Download URL | fast_fig-0.5.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcc1cbd69f84b5dde70e5d3752ef402975344887e79f16ce387bc458ac11339b
|
|
BLAKE2b-256 checksum How to use checksums |
13a709c71bc03ef8ee6dfdd4a7e5e8b814a9a4b47507b3ffed901a8b0c69ec9b
|
| 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.0-py3-none-any.whl
| Download URL | fast_fig-0.5.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd61cf828eaeaf604d9a0ac086be641d0387a6f3dce67cd0125d1d05a46210f1
|
|
BLAKE2b-256 checksum How to use checksums |
614c345109e2fa0d5ef3c7611118b72e4d2e6c9a5ce77367097301c7844263a9
|
| 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
|