Python library to make plotting simpler for data scientists
Project description
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 to 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
Installation
Chartify can be installed via pip:
pip3 install chartify
- 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
Join #chartify on spotify-foss.slack.com (Get an invite)
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
History
3.0.1 (2020-06-02)
Reduce dependencies by switching from Jupyter to IPython.
3.0.0 (2020-05-29)
Updated Python to 3.6+ and Pandas to 1.0+ (Thanks @tomasaschan!)
Updated Bokeh to 2.0+
Removed colour dependency to fix setup errors.
2.7.0 (2019-11-27)
Bugfixes:
Updated default yaml loader to move off of deprecated method (Thanks @vh920!)
Updated legend handling to adjust for deprecated methods in recent versions of Bokeh (Thanks for reporting @jpkoc)
Updated license in setup.py (Thanks for reporting @jsignell)
Bump base Pillow dependency to avoid insecure version.
Update MANIFEST to include missing files (Thanks @toddrme2178!)
2.6.1 (2019-08-15)
Bugfixes:
Moved package requirements and fixed bug that occured with latest version of Bokeh (Thanks @emschuch & @mollymzhu!)
Fixed bug in README while generating docs (Thanks @Bharat123rox!)
2.6.0 (2019-03-08)
Improvements:
Allows users to plot colors on bar charts that aren’t contained in the categorical axis.
Bugfixes:
Fixed bug that caused float types to break when plotted with categorical text plots (Thanks for finding @danela!)
Fixed broken readme links.
2.5.0 (2019-02-17)
Improvements:
Added Radar Chart
2.4.0 (2019-02-16)
Improvements:
Added second Y axis plotting.
Removed Bokeh loading notification on import (Thanks @canavandl!)
Added support for custom Bokeh resource loading (Thanks @canavandl!)
Added example for Chart.save() method (Thanks @david30907d!)
Bugfixes:
Updated documentation for saving and showing svgs.
Fixed bug that broke plots with no difference between min and max points. (Thanks for finding @fabioconcina!)
2.3.5 (2018-11-21)
Improvements:
Updated docstrings (Thanks @gregorybchris @ItsPugle!)
Added SVG output options to Chart.show() and Chart.save() (Thanks for the suggestion @jdmendoza!)
Bugfixes:
Fixed bug that caused source label to overlap with xaxis labels.
Fixed bug that prevented x axis orientation changes with datetime axes (Thanks for finding @simonwongwong!)
Fixed bug that caused subtitle to disappear with outside_top legend location (Thanks for finding @simonwongwong!)
Line segment callout properties will work correctly. (Thanks @gregorybchris!)
2.3.4 (2018-11-13)
Updated Bokeh version requirements to support 1.0
2.3.3 (2018-10-24)
Removed upper bound of Pillow dependency.
2.3.2 (2018-10-18)
Stacked bar and area order now matches default vertical legend order.
Added method for shifting color palettes.
Added scatter plots with a single categorical axis.
Fixed bug with text_stacked that occurred with multiple categorical levels.
2.3.1 (2018-09-27)
Fix scatter plot bug that can occur due to nested data types.
2.3.0 (2018-09-26)
Added hexbin plot type.
More control over grouped axis label orientation.
Added alpha control to scatter, line, and parallel plots.
Added control over marker style to scatter plot.
Added ability to create custom color palettes.
Changed default accent color.
Visual tweaks to lollipop plot.
Bar plots with a few number of series will have better widths.
2.2.0 (2018-09-17)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chartify-3.0.1.tar.gz
.
File metadata
- Download URL: chartify-3.0.1.tar.gz
- Upload date:
- Size: 18.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb00d2e2fca0fcb6a211c04e4419ee289a484dc88c2d4bfb006071a3280a9c37 |
|
MD5 | b9103f43f630a9a9d8d80b995ea8aa13 |
|
BLAKE2b-256 | ced77ba850a4149871b3beb05ff897d178a1245287a9df82d16bd9f26211c6c0 |
File details
Details for the file chartify-3.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: chartify-3.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 62.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bda37e0d81430edd412e4e52aef021496103ebd0964c1fc83cd789363353264a |
|
MD5 | 0a59d1d8608dcc2614ac70df9db2e4f1 |
|
BLAKE2b-256 | 1fa189ad05b38d4654cf4f853c98add5d8b3a212873b3efca8d57f77d767ce63 |