[yt-svn] commit/yt: ngoldbaum: fix formatting of volume rendering helper docstrings
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Jun 15 17:50:01 PDT 2016
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/6600feab0c68/
Changeset: 6600feab0c68
Branch: yt
User: ngoldbaum
Date: 2016-06-16 00:38:18+00:00
Summary: fix formatting of volume rendering helper docstrings
Affected #: 1 file
diff -r dfe34c8552f4bb62b86c8d6e3990f41025ec9cd6 -r 6600feab0c681aebfb22e811a032d5a55d8afa36 yt/visualization/volume_rendering/volume_rendering.py
--- a/yt/visualization/volume_rendering/volume_rendering.py
+++ b/yt/visualization/volume_rendering/volume_rendering.py
@@ -55,7 +55,9 @@
that was constructed during the rendering. Useful for further
modifications, rotations, etc.
- Example:
+ Examples
+ --------
+
>>> import yt
>>> ds = yt.load("Enzo_64/DD0046/DD0046")
>>> sc = yt.create_scene(ds)
@@ -123,7 +125,9 @@
that was constructed during the rendering. Useful for further
modifications, rotations, etc.
- Example:
+ Examples
+ --------
+
>>> import yt
>>> ds = yt.load("Enzo_64/DD0046/DD0046")
>>> im, sc = yt.volume_render(ds, fname='test.png', sigma_clip=4.0)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list