Skip to main content

Draw speciaized graphs using pyecharts

Project description

https://api.travis-ci.org/pyecharts/pyecharts-extras.svg https://codecov.io/github/pyecharts/pyecharts-extras/coverage.png https://badge.fury.io/py/pyecharts-extras.svg https://pepy.tech/badge/pyecharts-extras/month https://img.shields.io/github/stars/pyecharts/pyecharts-extras.svg?style=social&maxAge=3600&label=Star https://mybinder.org/badge_logo.svg

Latest version works with pyecharts 1.3.1+.

Please launch the binder to get an interactive jupyter notebook running.

1. Time Series Event

Usage of TimeYAxisDateXAxis:

import pyecharts.options as opts
from pyecharts_extras.date_time import TimeYAxisDateXAxis, DateAxisOpts, TimeAxisOpts
from datetime import datetime

data = [
   datetime(2020,9,1,3,11,11),
   ...
]

data2 = [
    datetime(2020,9,1,1,11,11),
    ...
]

chart = TimeYAxisDateXAxis(init_opts=opts.InitOpts(height="1000px"))
chart.set_global_opts(
         xaxis_opts=DateAxisOpts(axis_data=all_dates),
         yaxis_opts=TimeAxisOpts(),
         tooltip_opts=opts.TooltipOpts(is_show=False))
chart.add_data('A', data, symbol_size=10)
chart.add_data('B', data2, symbol_size=20)
chart.render_notebook()
https://user-images.githubusercontent.com/4280312/92998181-4b4f6e00-f510-11ea-9b0a-963a83f64e04.png

2. ChoroplethMap

https://user-images.githubusercontent.com/4280312/61274388-a0281500-a7a3-11e9-9501-27e8a1659bd0.png

Installation

You can install pyecharts-extras via pip:

$ pip install pyecharts-extras

or clone it and install it:

$ git clone https://github.com/pyecharts/pyecharts-extras.git
$ cd pyecharts-extras
$ python setup.py install

Change log

0.0.5 - 12.09.2020

Fixed

  1. time date scatter plot failed to display different sets of data

0.0.4 - 06.09.2020

Added

  1. it scatters event over time vs date chart so as to spot patterns in events.

0.0.3 - 15.07.2019

Updated

  1. it use pyecharts 1.3 to draw ChoroplethMap

0.0.2 - 09.06.2019

Updated

  1. it use pyecharts 1.x to draw ChoroplethMap

0.0.1 - 17.04.2019

first release

  1. it draws ChoroplethMap

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyecharts-extras-0.0.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

pyecharts_extras-0.0.5-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyecharts-extras-0.0.5.tar.gz.

File metadata

  • Download URL: pyecharts-extras-0.0.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pyecharts-extras-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6123feb7fd7f776290db0e524a2feedc66f0fd60e2fa0ea24544b30b1233dea1
MD5 96efdd32f5c9089ca4ee74d3dc6174f3
BLAKE2b-256 1159e36b8ceca4d7a68ca32de8f0c49c72455e5a153971d84c50320e52e4ae8e

See more details on using hashes here.

File details

Details for the file pyecharts_extras-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: pyecharts_extras-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pyecharts_extras-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f66360d2cde3cb0ec54089f4ce3371cfb15716b5585048b18240af250320777
MD5 847356ceaf0231bf8d2f9fbc2e35bca4
BLAKE2b-256 04469e1d6ddefdbafdbd73900666208d45b635e3d555d1bba12f3951fdf6f813

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page