Metadata-Version: 2.4
Name: ed_design
Version: 1.4.0
Summary: Python package developed by Envidan A/S scoping to follow the design of the company brand. This package is only for internal use..
Author-email: Martin Vidkjaer <mav@envidan.dk>
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: matplotlib<4.0.0
Requires-Dist: numpy<3.0.0
Requires-Dist: pandas<3.0.0
Requires-Dist: seaborn<1.0.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: flake8-pyproject; extra == "dev"
Requires-Dist: pytest>=8.3.3; extra == "dev"
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
Requires-Dist: artifacts-keyring; extra == "dev"

# Introduction 
Design package for the company Envidan A/S intended for use with matplotlib and seaborn
- Hardcoded palettes and colormaps with company design colors
- Envidan logo in print and web form

# Getting Started
## Installation
You can install this package using
```
pip install ed_design  # from pypi.org
```
## Dependencies
Software dependencices are:
```
matplotlib
seaborn
pandas
numpy
```

## Use
### Minimal use example
```
import matplotlib.pyplot as plt
import ed_design as edd

edd.style()          # apply Envidan style

fig, ax = plt.subplots()
ax.plot([1, 2, 3], [4, 2, 5])

edd.logo2fig(fig)    # add Envidan logo
plt.show()
```


### Palettes and colormaps for matplotlib and seaborn
```
import ed_design as edd

edd.palette_show('all')  # Show all palettes

palette = edd.palette_get('blues')  # Use with categorical variabels
cmap = edd.cmap_get('BlGr')  # Use with continous variabels

my_own_camp = edd.cmap_Create([color1, color2, color3], n_colors=256)
```

### Envidan logo
```
edd.logo2fig(fig)
logo = edd.logo.logo()

```

### Set style
```
edd.style()  # Sets envidan style with color prop cycle "normal" from edd.Colors()
edd.style('default')  # sets matplotlib default style
```


# Build and Test
TODO:
- Nothing at the momement

# Contribute
Only employees in Envidan has access to the repositoryon Azure

# Author
Martin Vidkjær, mav@envidan.dk
