Metadata-Version: 2.1
Name: easydarkfigs
Version: 0.6
Summary: iPython Magic for Easy Dark/Light Figures
Home-page: https://github.com/bacook17/easydarkfigs/
Author: Ben Cook
Author-email: bacook17@gmail.com
License: LICENSE
Keywords: matplotlib,dark figures
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Visualization
Description-Content-Type: text/markdown
Requires-Dist: matplotlib
Requires-Dist: IPython

# easydarkfigs - iPython Magic for easy Dark/Light Matplotlib figures

## Installation
`easydarkfigs` can be installed through [pip](https://pip.pypa.io/en/stable) via

```
pip install easydarkfigs
```

## Usage

Within an active iPython or Jupyter environment:

```python
import easydarkfigs
```

Then, at the beginning of a cell where a Matplotlib figure is created:
```python
%%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](https://matplotlib.org/users/style_sheets.html).

To change the default figure save location or styles to use:
```python
%set_darkstyle new-style

%set_darkfigdir my/dir/

%set_lightstyle new-style

%set_lightfigdir my/dir/
```


