from nordplotlib.png import install; install()
from nordplotlib.pdf import install; install()
To build and install this package with pip
, the same procedure can be
followed as for most pure Python packages that use setuptools
.
The Python build
package will create a wheel and source distribution;
without additional options, both files are created in the dist/
subdirectory,
which will be created if it does not already exist.
python3 -m build
Some optional flags are given below in brackets that can be
useful for a non-root build (--user
) or for active development
(--ignore-installed --force-reinstall
), but these are not strictly
necessary to install the package itself. The following command works
from the repository root directory.
pip3 install [--user] [--ignore-installed --force-reinstall] $PWD
Installing from GitHub directly is even easier!
pip3 install [--user] [--ignore-installed --force-reinstall] git+https://github.com/emprice/nordplotlib
- Matplotlib is probably the most popular way to generate scientific plots in Python.
- The Nord colorscheme is a beautiful set of color palettes with a frosty blue feel. Many ports are available if you like these colors and want to see them in your own tools.