-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update example with multi-pages
- Loading branch information
Showing
15 changed files
with
1,515 additions
and
1,142 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[theme] | ||
base="light" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import streamlit as st | ||
from streamlit_g2 import g2 | ||
|
||
st.set_page_config(page_title="streamlit-g2: AntV G2 for Streamlit!", page_icon="📈", layout="wide") | ||
|
||
""" | ||
# Welcome to [streamlit-g2](https://github.com/hustcc/streamlit-g2)! | ||
[G2](https://github.com/antvis/G2) is a visualization grammar for dashboard building, data exploration and storytelling. | ||
This project was created to allow us to render [G2](https://github.com/antvis/G2) charts in streamlit. In the meantime, below are some examples of what you can do with just a few lines of code: | ||
""" | ||
|
||
st.image("https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_GfqQoRCqQkAAAAAAAAAAAAADmJ7AQ/fmt.webp") |
Oops, something went wrong.