In [ ]:
%matplotlib inline

Precognition

The future trajectory of an animated plot can be visualized with the precog argument. This displays a low opacity version of the trace ahead of the current points being plotted. This can be used in conjunction with the chemtrails argument to plot a low-opacity trace of the entire timeseries.


In [ ]:
# Code source: Andrew Heusser
# License: MIT

# import
import hypertools as hyp
import numpy as np

# load example data
geo = hyp.load('weights_avg')

# plot
geo.plot(animate=True, precog=True)