Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

ed-design

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ed-design

Python package developed by Envidan A/S scoping to follow the design of the company brand. This package is only for internal use..

pipPyPI
Version
1.4.0
Maintainers
1

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)
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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts