-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tutorial to show interactive data visualization via 'panel' #2498
Conversation
/format |
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me except one minor comment.
Co-authored-by: Dongdong Tian <[email protected]>
Is there a sphinx extension or something to have the slider show up? I feel like there should be some way... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
panel
to 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 format
andmake check
to 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