[yt-svn] commit/yt: ngoldbaum: Remove use of radius_field that is not yet available in the stable branch
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Feb 23 07:41:13 PST 2017
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/6e21d8723012/
Changeset: 6e21d8723012
Branch: stable
User: ngoldbaum
Date: 2017-02-14 22:02:40+00:00
Summary: Remove use of radius_field that is not yet available in the stable branch
Affected #: 1 file
diff -r 7f76a9ccfcca1c92657350f7729e75f45f6e396d -r 6e21d872301261938bd87d6279be0bc99fe54711 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -1470,7 +1470,7 @@
px, py = self.convert_to_plot(plot,[px,py])
# Convert halo radii to a radius in pixels
- radius = halo_data[self.radius_field][:].in_units(units)
+ radius = halo_data['virial_radius'][:].in_units(units)
radius = np.array(radius*pixel_scale*self.factor)
if self.width:
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