Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Arman Khalatyan
okd-panel
Commits
e87dc837
Commit
e87dc837
authored
Jul 20, 2020
by
Arman Khalatyan
Browse files
altair hexbin
parent
b40876c5
Pipeline
#1205
passed with stages
in 5 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
webapp/app.py
View file @
e87dc837
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment