Add tutorial to show interactive data visualization via 'panel'#2498
Add tutorial to show interactive data visualization via 'panel'#2498
Conversation
|
/format |
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
seisman
left a comment
There was a problem hiding this comment.
Looks good to me except one minor comment.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Is there a sphinx extension or something to have the slider show up? I feel like there should be some way... |
michaelgrund
left a comment
There was a problem hiding this comment.
Looks good to me except the comment of @weiji14. If it would be possible to show the slider in some way this would be great. Apart from that, great work @yvonnefroehlich.
I don't think it's possible with our current docs settings. When we build the docs, the Sphinx-Gallery plugin executes the Thus, the main problem is that Sphinx-Gallery can't capture the "slider" generated by Panel. |
Maybe we can add some screenshots (with the slider) as a workaround. |
@weiji14 Any more comments? |
|
Ok to merge first, we can see if there's a way to show the slider later. |
Description of proposed changes
This PR aims to add a tutorial showing how to use the library
panelto create an interactive dashboard with PyGMT.The tutorial is based on this EGU 2022 Short Course example and #2455 (comment)
Fixes #2455
Preview: https://pygmt-dev--2498.org.readthedocs.build/en/2498/tutorials/advanced/working_with_panel.html
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version