Skip to content

Instantly share code, notes, and snippets.

@justinr922
Last active November 8, 2019 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinr922/dd04747d705702052c61308567ae75fe to your computer and use it in GitHub Desktop.
Save justinr922/dd04747d705702052c61308567ae75fe to your computer and use it in GitHub Desktop.
elevationScale = st.slider('Elevation Scale', min_value = 0, max_value = 50)
radius = st.slider('Radius', min_value = 1, max_value = 50)
st.deck_gl_chart(layers = [{
'data': location_data.iloc[0:num_of_points, :],
'type': 'HexagonLayer',
'elevationScale' : elevationScale,
'radius' : radius,
'extruded' : True,
'opacity' : 1.0
}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment