Metadata-Version: 2.1
Name: libvis
Version: 0.1.2
Summary: Interactive live object visualization for python
Home-page: https://github.com/libvis/python-libvis
Author: Dan Lykov
Author-email: lkvdan@gmail.com
License: GPLv2
Keywords: tools,data,framework,visualization
Platform: UNKNOWN
Requires-Python: >=3.3
Description-Content-Type: text/markdown
Requires-Dist: legimens
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: requests
Requires-Dist: trio (>=0.13)
Requires-Dist: trio-websocket (>=0.8)



.. raw:: html

    <div align="center">
        <img width="312px" alt="libvis logo" src="assets/libvis.png"/>
    </div>

.. image:: https://img.shields.io/pypi/v/libvis.svg
    :target: https://pypi.python.org/pypi/libvis
    :alt: PyPi version


Data visualization made easier
==============================

This is a project for interactive data visualization

It uses a dedicated web app with cards that display python variables.

Check out the notebooks folder for examples

Jump right in: `Quick start <http://docs.webvis.dev/usage/quickstart.html#>`_.


Quick start
-----------

.. code-block:: python

   from libvis import Vis
   import time

   vis = Vis(vis_port=7007)
   vis.start()
   # Opens the browser on 7007 port 
   vis.show()

   # Live plotting
   for i in range(0,100):
      vis.vars.line = [(2**x)%100 for x in range(i)]
      time.sleep(.2)

Add a widget, call it "line", and a live plot appears.

Libvis is a live object visualization tool, best used with jupyter notebook.

A separate thread is created that checks the changes. No network requests performed in main thread.

Values can be matplotlib figures, 1-d and 2-d arrays,
and even bokeh is supported!

Documentation
-------------

http://docs.webvis.dev



