`matplotlib` binder with custom styles and routines for fast plotting
Project description
myplotlib
matplotlib
binder with custom styles and routines for fast plotting. see previews of available styles.
Note:
numba
support in line-integral-convolution algorithm has been temporarily removed due to incompatibility withpython
3.11; see issue. Because of this the line integral convolution algorithm is quite slow and not recommended for usage.
installation
pip install myplotlib
usage
# initialize style:
import myplotlib
myplotlib.load(style=..., flavor=...)
# style can be [`fancy` | `mono` | `hershey`]
# flavor can be [`light` | `dark`]
# if not specified defaults to `style = 'main', flavor = 'light'`
# auxiliary functions for plotting:
import myplotlib.plots as myplt
# type for docstring:
myplt?
# preview custom styles with built-in functions
import myplotlib.tests as mypltest
# type for docstring:
mypltest?
for more usage examples checkout the tests/
submodule.
requirements
python >= 3.6
matplotlib >= 3.0.0
,numpy
latex
(used forstyle="fancy"
only)
development
Building tarballs in the dist
directory:
python -m build --sdist --outdir dist .
To-do
- isocontour plotting
- add streamplot for fieldline plotting
- print all the newly added colormaps and the default color sequence
- add a test plot for the demo
- add image to readme
- dark mode
- monotype non-Latex mode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
myplotlib-1.0.3.tar.gz
(3.0 MB
view details)
File details
Details for the file myplotlib-1.0.3.tar.gz
.
File metadata
- Download URL: myplotlib-1.0.3.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27be835341b0f7fb678b861c68ddd48bb665208d9921b0f6afe72b101f3bfb33 |
|
MD5 | 6e8937b601a3c28be53598ed18b6f866 |
|
BLAKE2b-256 | be727f3967efb0cdb3bbd86f4d351f969d88c3e0101b9ce186bd6a2c51c41c4e |