Notebook

sokort 支持在 Jupyter Notebook 中直接显示绘图结果。

如果生成单张图片,则直接显示。

[1]:
from sokort import show_plot
show_plot("grapes_gfs_gmf", "pwat_sfc_an_aea", "2021071100", "24h")
../_images/usage_notebook_2_0.png

如果生成多张图片,则使用 ipywidgets 标签页展示 (文档暂时无法显示)

[2]:
show_plot("grapes_meso_3km", "area_cape_850wind", "2021071100", "24h")

../_images/usage_notebook_4_0.png
../_images/usage_notebook_4_1.png
../_images/usage_notebook_4_2.png
../_images/usage_notebook_4_3.png
../_images/usage_notebook_4_4.png
../_images/usage_notebook_4_5.png
../_images/usage_notebook_4_6.png
../_images/usage_notebook_4_7.png
../_images/usage_notebook_4_8.png