Created
November 27, 2017 14:56
-
-
Save pierdom/4952eb2187ef19765f6bfd1c627f0183 to your computer and use it in GitHub Desktop.
[Holoviews DynamicMap to change dynamically x-axis range] #holoviews #bokeh #visualization #python #datascience
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import holoviews as hv | |
| import numpy as np | |
| hv.extension('bokeh') | |
| hv.DynamicMap(lambda i: hv.Curve(np.arange(i)), kdims=['i']).redim.range(i=((10, 20))).opts(norm=dict(framewise=True)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment