Hi yt people,I just updated to yt 3.3.1 to use all the new features of volume rendering. I am trying to render ejected density which is a derived field and draw the coordinate triads, domain boundary along with labels showing the log range of ejected density. my code is attached. While my code worked fine with default field 'density', the following figure was produced for 'density', but I am getting error when the source field is set to 'ejected_density'.
Also the 'density' figure still does not show either the coordinate triads or the domain boundary. I would appreciate your help to fix the error and thanks in advance.
Traceback (most recent call last):File "volume_render_test.py", line 117, in <module>text_annotate=[[(.1, 1.05), text_string]])File "/work/03858/thaque56/sw/yt-new-3.3/yt-conda/lib/python2. 7/site-packages/yt/ visualization/volume_ rendering/scene.py", line 395, in save_annotated label = rs.data_source.ds._get_field_info(rs.field).get_label() File "/work/03858/thaque56/sw/yt-new-3.3/yt-conda/lib/python2. 7/site-packages/yt/fields/ derived_field.py", line 225, in get_label units = Unit(self.units, registry=self.ds.unit_registry) AttributeError: 'NoneType' object has no attribute 'unit_registry'ThanksTazkera
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users- spacepope.org