Coder Social home page Coder Social logo

feedzai / feedzai-altair-theme Goto Github PK

View Code? Open in Web Editor NEW
14.0 7.0 5.0 103 KB

Feedzai's theme for Altair charts.

Home Page: https://pypi.org/project/feedzai-altair-theme/

License: Other

Makefile 2.02% Python 71.20% Jupyter Notebook 26.78%
altair data-visualization python altair-themes

feedzai-altair-theme's Introduction

feedzai-altair-theme

PyPI Binder

Feedzai's theme for Altair charts.

Sneak peek

Examples of charts with the feedzai-altair-theme applied

Quickstart

Installation

Via pip:

pip install feedzai-altair-theme

Via Pipenv:

pipenv install feedzai-altair-theme

Via Poetry:

poetry add feedzai-altair-theme

Via PDM:

pdm add feedzai-altair-theme

Via Pyflow:

pyflow install feedzai-altair-theme

Usage

import altair as alt

alt.themes.enable("feedzai")

You can find some example charts in the demo.ipynb notebook.

Development

Create the development environment:

make init

After implementing changes, run the command to check the types and to format and lint the code (you can also use the individual commands defined in the Makefile):

make all

To see the changes applied to some example charts, use the demo.ipynb notebook:

make demo

Misc

Install the feedzai-altair-theme package in an environment without an Internet connection

First, download the repo and move its root folder to your environment. From there, you can install the package with pip by pointing to the folder path and adding some extra flags:

pip install -e feedzai-altair-theme/ --no-deps --no-build-isolation

This command assumes that the feedzai-altair-theme package dependencies are already installed in your environment. For more information about the additional flags, check the pip install documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.