pyecharts-extras 0.0.5
Draw speciaized graphs using pyecharts
License: MIT
Keywords: python,pyecharts,chart

================================================================================
pyecharts-extras
================================================================================

.. image:: https://api.travis-ci.org/pyecharts/pyecharts-extras.svg
   :target: http://travis-ci.org/pyecharts/pyecharts-extras

.. image:: https://codecov.io/github/pyecharts/pyecharts-extras/coverage.png
   :target: https://codecov.io/github/pyecharts/pyecharts-extras
.. image:: https://badge.fury.io/py/pyecharts-extras.svg
   :target: https://pypi.org/project/pyecharts-extras

.. image:: https://pepy.tech/badge/pyecharts-extras/month
   :target: https://pepy.tech/project/pyecharts-extras/month

.. image:: https://img.shields.io/github/stars/pyecharts/pyecharts-extras.svg?style=social&maxAge=3600&label=Star
    :target: https://github.com/pyecharts/pyecharts-extras/stargazers

.. image:: https://mybinder.org/badge_logo.svg
 :target: https://mybinder.org/v2/gh/pyecharts/pyecharts-extras/master?filepath=examples



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:

.. code-block:: python

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


.. image:: https://user-images.githubusercontent.com/4280312/92998181-4b4f6e00-f510-11ea-9b0a-963a83f64e04.png


2. ChoroplethMap
----------------

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



Installation
================================================================================


You can install pyecharts-extras via pip:

.. code-block:: bash

    $ pip install pyecharts-extras


or clone it and install it:

.. code-block:: bash

    $ 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**

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

0.0.4 - 06.09.2020
--------------------------------------------------------------------------------

**Added**

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

0.0.3 - 15.07.2019
--------------------------------------------------------------------------------

**Updated**

#. it use pyecharts 1.3 to draw ChoroplethMap

0.0.2 - 09.06.2019
--------------------------------------------------------------------------------

**Updated**

#. it use pyecharts 1.x to draw ChoroplethMap

0.0.1 - 17.04.2019
--------------------------------------------------------------------------------

**first release**

#. it draws ChoroplethMap