iPython Magic for Easy Dark/Light Figures
Project description
easydarkfigs - iPython Magic for easy Dark/Light Matplotlib figures
Installation
easydarkfigs
can be installed through pip via
pip install easydarkfigs
Usage
Within an active iPython or Jupyter environment:
import easydarkfigs
Then, at the beginning of a cell where a Matplotlib figure is created:
%%savefig_dark_light figname.ext
# Code
# to
# create
# figure
This will save two versions of the created figure, using the easy-dark
and easy-light
Matplotlib style files
included with this package.
To customize these default styles, edit them in your matplotlib directory.
To change the default figure save location or styles to use:
%set_darkstyle new-style
%set_darkfigdir my/dir/
%set_lightstyle new-style
%set_lightfigdir my/dir/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easydarkfigs-0.5.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file easydarkfigs-0.5.tar.gz
.
File metadata
- Download URL: easydarkfigs-0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.7.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
aed21e25f89e9693bef7029c423dc96ae917b8ee2af90535a0b08d8388614a9f
|
|
MD5 |
2b076a334207b648f842c1af3f6e2fa9
|
|
BLAKE2b-256 |
90a65430f3f7f752bca4c1d599ee3be2246d32c081edcbcf43252dc645246fe1
|
File details
Details for the file easydarkfigs-0.5-py3-none-any.whl
.
File metadata
- Download URL: easydarkfigs-0.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.7.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2e160ea61aacc23c1bac426ca8250bcc479b2966b9497483ee1a20fbef7bb5a0
|
|
MD5 |
75b62749e69614d74ea48593440412d5
|
|
BLAKE2b-256 |
02eafae2e4905bfd94957ab2035c21162440f56dbeb73e6722f230f3a0a54d7f
|