MCPcopy Index your code
hub / github.com/spotify/chartify

github.com/spotify/chartify @5.0.1

repository ↗ · DeepWiki ↗ · release 5.0.1 ↗ · Ask this repo → · + Follow
457 symbols 1,497 edges 26 files 255 documented · 56% updated 20mo ago5.0.1 · 2024-10-16★ 3,63844 open issues
README

Chartify

Status Latest release python python python CI

Chartify is a Python library that makes it easy for data scientists to create charts.

Why use Chartify?

  • Consistent input data format: Spend less time transforming data to get your charts to work. All plotting functions use a consistent tidy input data format.
  • Smart default styles: Create pretty charts with very little customization required.
  • Simple API: We've attempted to make the API as intuitive and easy to learn as possible.
  • Flexibility: Chartify is built on top of Bokeh, so if you do need more control you can always fall back on Bokeh's API.

Examples

See this notebook for more examples!.

Installation

  1. Chartify can be installed via pip:

pip3 install chartify

  1. Install chromedriver requirement (Optional. Needed for PNG output):
    • Install google chrome.
    • Download the appropriate version of chromedriver for your OS here.
    • Copy the executable file to a directory within your PATH.
    • View directorys in your PATH variable: echo $PATH
    • Copy chromedriver to the appropriate directory, e.g.: cp chromedriver /usr/local/bin

Getting started

This tutorial notebook is the best place to get started with a guided tour of the core concepts of Chartify.

From there, check out the example notebook for a list of all the available plots.

Docs

Documentation available on chartify.readthedocs.io.

Getting support

Use the chartify tag on StackOverflow.

Code of Conduct

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.

Contributing

See the contributing docs.

Core symbols most depended-on inside this repo

set_title
called by 55
chartify/_core/chart.py
show
called by 54
chartify/_core/chart.py
set_subtitle
called by 43
chartify/_core/chart.py
scatter
called by 29
chartify/_core/plot.py
_plot_with_legend
called by 22
chartify/_core/plot.py
from_hex_list
called by 20
chartify/_core/colors.py
bar
called by 20
chartify/_core/plot.py
_apply_settings
called by 19
chartify/_core/style.py

Shape

Method 283
Function 112
Class 62

Languages

Python100%

Modules by API surface

chartify/examples.py78 symbols
tests/test_plots.py74 symbols
chartify/_core/colour.py59 symbols
chartify/_core/axes.py50 symbols
chartify/_core/plot.py41 symbols
chartify/_core/colors.py32 symbols
chartify/_core/chart.py32 symbols
chartify/_core/style.py30 symbols
tests/test_chart.py14 symbols
chartify/_core/options.py10 symbols
chartify/_core/radar_chart.py9 symbols
tests/test_colors.py6 symbols

Dependencies from manifests, versioned

Jinja23.1.0 · 1×
Pillow9.1.0 · 1×
Sphinx6.1.3 · 1×
black23.1.0 · 1×
bokeh3.4.2 · 1×
commonmark0.9.1 · 1×
coverage7.2.2 · 1×
coverage-badge1.1.0 · 1×
flake84.0.1 · 1×
importlib-metadata6.1.0 · 1×
ipykernel6.0 · 1×
ipython7.17.0 · 1×

For agents

$ claude mcp add chartify \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact