Created
September 26, 2024 17:07
-
-
Save LinuxIsCool/c38101102965ac9fd743118324cf5fe1 to your computer and use it in GitHub Desktop.
Simplest line between two points in hvplot and holoview
This file contains 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 pandas as pd | |
import holoviews as hv | |
import hvplot.pandas | |
hv.Points((1,1)).opts(size=10) * hv.Points((2,2)).opts(size=10) * pd.DataFrame([[1,1],[2,2]]).hvplot.line(x='0',y='1') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment