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.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file easydarkfigs-0.1.tar.gz
.
File metadata
- Download URL: easydarkfigs-0.1.tar.gz
- Upload date:
- Size: 3.1 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 |
4769a62d75adb9109c74412f26b4a6ea76ba1a4897d3ba58d5e5b12d234b5081
|
|
MD5 |
5cf8d9a984f5bc917007e0c7fed98951
|
|
BLAKE2b-256 |
bcefd531d8260aa3d0d722fc59ec2c619c293c2bd5f248dc134ab89061c8f017
|
File details
Details for the file easydarkfigs-0.1-py3-none-any.whl
.
File metadata
- Download URL: easydarkfigs-0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 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 |
12caa282638549676b80d40a176c79646ba8d5af41350941a2ac1127912c79b3
|
|
MD5 |
a84f4bf8d886da6c6554e1898523be47
|
|
BLAKE2b-256 |
bfd16e0a395907444be84cca89c77f09d7856398b85583e55f066961e72242c2
|