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.3
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.3.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / fast_fig-0.5.3.tar.gz
| Download URL | fast_fig-0.5.3.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2f3c02fe306c4bf2b1f80a8c5cb02a64760a70a9b18919295a14305a9b72fe8
|
|
BLAKE2b-256 checksum How to use checksums |
a649404d2f6f70049cbeeb49fcf6222f690748accfca4b413684ce73c8f44d97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0
|
Release files / fast_fig-0.5.3-py3-none-any.whl
| Download URL | fast_fig-0.5.3-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06c18b05ff42a916a36ea094ce02f84c27ee5b972c4d0b2655d913536fc32737
|
|
BLAKE2b-256 checksum How to use checksums |
2faa4e445d91e724f3f143829f883bdb036b5ab2013ef11030d6168a7c7daffc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0
|