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.2
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.2.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_fig-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / fast_fig-0.5.2.tar.gz
| Download URL | fast_fig-0.5.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3a859ba89490c704b85dab5fa5b0037af7bc031d0391356f0b4196add935ae5
|
|
BLAKE2b-256 checksum How to use checksums |
3abbe4b9e9cc5f41f1f08a0322bc0155b02eae2a9c05fef2a650bb43523ecfe4
|
| 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.2-py3-none-any.whl
| Download URL | fast_fig-0.5.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0d586f599640a40b9d91a5eb06d6bfb9b12aaac007bf9b9f063a5515b11b409
|
|
BLAKE2b-256 checksum How to use checksums |
bdbb296c05306b45edfb959337eca336ce739725e7fc6303e09eb0c1af273b8e
|
| 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
|