sc1f / streaming-perspective-jupytercon-2020

Notebooks, slides, and examples for "Streaming, cross-sectional data visualization in Jupyterlab with Perspective and Apache Arrow", my Jupyter community: tools and practices talk at Jupytercon 2020.
Apache License 2.0
27 stars 8 forks source link

AttributeError: 'PerspectiveManager' object has no attribute 'host_view' #2

Closed arniwesth closed 3 years ago

arniwesth commented 3 years ago

Great talk!

I got this when trying to run the tornado server

$ python3 tornado_server.py
Traceback (most recent call last):
  File "tornado_server.py", line 118, in <module>
    app = make_app()
  File "tornado_server.py", line 93, in make_app
    MANAGER.host_view("holdings_view", VIEWS["holdings"])
AttributeError: 'PerspectiveManager' object has no attribute 'host_view'
sc1f commented 3 years ago

The example here has bit-rotted vs. the latest version of Perspective (0.10.0). I just pushed up an update to tornado_server that should work with the latest version of Perspective.

arniwesth commented 3 years ago

Thanks! Ones small correction to get the server example to work: iex_source=client.last should be replaced with iex_source=client.iexLast