Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
63 additions
and
32 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ build: | |
apt_packages: | ||
- xvfb | ||
- libgl1-mesa-dev | ||
- mesa-utils | ||
|
||
conda: | ||
environment: .rtd-environment.yml | ||
|
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
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,8 @@ | ||
================================== | ||
Extending functionality from sunpy | ||
================================== | ||
|
||
.. jupyter-execute:: setup.py | ||
:hide-code: | ||
|
||
.. jupyter-execute:: ../../examples/3d_functionality.py |
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,13 @@ | ||
To create a new example, follow these steps: | ||
|
||
1. Create a new python script for the example in /examples/. You should be | ||
able to run this script by itself, and produce a plot at the end. | ||
2. Create a .rst file in this directory that has: | ||
- A title | ||
- .. jupyter-execute:: setup.py | ||
:hide-code: | ||
|
||
- .. jupyter-execute:: ../../examples/FILENAME.py | ||
|
||
|
||
where FILENAME is the name of the file created in step 1. |
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,8 @@ | ||
======================== | ||
Ignoring off-limb pixels | ||
======================== | ||
|
||
.. jupyter-execute:: setup.py | ||
:hide-code: | ||
|
||
.. jupyter-execute:: ../../examples/assume_spherical.py |
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,8 @@ | ||
================================ | ||
Plotting Field Lines from pfsspy | ||
================================ | ||
|
||
.. jupyter-execute:: setup.py | ||
:hide-code: | ||
|
||
.. jupyter-execute:: ../../examples/field_lines.py |
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,10 @@ | ||
*************** | ||
Example Gallery | ||
*************** | ||
|
||
This gallery contains examples of how to use sunkit-pyvista. | ||
|
||
.. toctree:: | ||
:glob: | ||
|
||
* |
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,3 @@ | ||
import pyvista | ||
|
||
pyvista.global_theme.jupyter_backend = "trame" |
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
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
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