Commit e87dc837 authored by Arman Khalatyan's avatar Arman Khalatyan
Browse files

altair hexbin

parent b40876c5
Pipeline #1205 passed with stages
in 5 minutes and 55 seconds
......@@ -165,3 +165,17 @@ if st.checkbox('Warning: the interactive can be very slow'):
plot_figure_plotly(df,xname,yname)
st.pyplot()
import holoviews as hv
from holoviews import opts
from holoviews import dim
hv.extension('bokeh')
if st.checkbox('Warning: the interactive can be very slow'):
plot_figure_plotly(df,xname,yname)
hex_tiles = hv.HexTiles(df[[xname,yname]])
hex_tiles.opts(opts.HexTiles(width=500, height=400, tools=['hover'], colorbar=True))
st.pyplot()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment