[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Apr 7 14:11:30 PDT 2017
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/fbc13fc8f9c8/
Changeset: fbc13fc8f9c8
Branch: yt
User: ngoldbaum
Date: 2017-03-29 18:50:17+00:00
Summary: Fix volume rendering example in quickstart notebook. Closes #1341
Affected #: 1 file
diff -r e265191afc164152ef482e861826d6dc877e6893 -r fbc13fc8f9c8bbe8d8584c79d9c94617218b2d3e doc/source/quickstart/6)_Volume_Rendering.ipynb
--- a/doc/source/quickstart/6)_Volume_Rendering.ipynb
+++ b/doc/source/quickstart/6)_Volume_Rendering.ipynb
@@ -93,12 +93,12 @@
"\n",
"source = sc.sources['source_00']\n",
"\n",
- "source.set_fields('density', no_ghost=False)\n",
+ "source.field = 'density'\n",
"\n",
"tf = yt.ColorTransferFunction((-28, -25))\n",
"tf.add_layers(4, w=0.03)\n",
"\n",
- "source.set_transfer_function(tf)\n",
+ "source.transfer_function = tf\n",
"\n",
"sc.show(sigma_clip=4.0)"
]
https://bitbucket.org/yt_analysis/yt/commits/535211c37b56/
Changeset: 535211c37b56
Branch: yt
User: ngoldbaum
Date: 2017-03-29 18:50:33+00:00
Summary: Correct docstring for VolumeSource
Affected #: 1 file
diff -r fbc13fc8f9c8bbe8d8584c79d9c94617218b2d3e -r 535211c37b564a7ff4ebe3c43e4fc7e534b3631c yt/visualization/volume_rendering/render_source.py
--- a/yt/visualization/volume_rendering/render_source.py
+++ b/yt/visualization/volume_rendering/render_source.py
@@ -124,8 +124,8 @@
data_source: :class:`AMR3DData` or :class:`Dataset`, optional
This is the source to be rendered, which can be any arbitrary yt
data object or dataset.
- fields : string
- The name of the field(s) to be rendered.
+ field : string
+ The name of the field to be rendered.
Examples
--------
https://bitbucket.org/yt_analysis/yt/commits/0b3d4a49ffbb/
Changeset: 0b3d4a49ffbb
Branch: yt
User: ngoldbaum
Date: 2017-04-07 21:11:25+00:00
Summary: Merged in ngoldbaum/yt (pull request #2567)
Fix volume rendering example in quickstart notebook. Closes #1341
Approved-by: chummels <chummels at gmail.com>
Approved-by: Britton Smith <brittonsmith at gmail.com>
Affected #: 2 files
diff -r 11a616b013dda6081d04e4ccd2ad8c71b31fe8dc -r 0b3d4a49ffbbfa267c567f2d1e0ecec12dfccf90 doc/source/quickstart/6)_Volume_Rendering.ipynb
--- a/doc/source/quickstart/6)_Volume_Rendering.ipynb
+++ b/doc/source/quickstart/6)_Volume_Rendering.ipynb
@@ -93,12 +93,12 @@
"\n",
"source = sc.sources['source_00']\n",
"\n",
- "source.set_fields('density', no_ghost=False)\n",
+ "source.field = 'density'\n",
"\n",
"tf = yt.ColorTransferFunction((-28, -25))\n",
"tf.add_layers(4, w=0.03)\n",
"\n",
- "source.set_transfer_function(tf)\n",
+ "source.transfer_function = tf\n",
"\n",
"sc.show(sigma_clip=4.0)"
]
diff -r 11a616b013dda6081d04e4ccd2ad8c71b31fe8dc -r 0b3d4a49ffbbfa267c567f2d1e0ecec12dfccf90 yt/visualization/volume_rendering/render_source.py
--- a/yt/visualization/volume_rendering/render_source.py
+++ b/yt/visualization/volume_rendering/render_source.py
@@ -124,8 +124,8 @@
data_source: :class:`AMR3DData` or :class:`Dataset`, optional
This is the source to be rendered, which can be any arbitrary yt
data object or dataset.
- fields : string
- The name of the field(s) to be rendered.
+ field : string
+ The name of the field to be rendered.
Examples
--------
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