New issue 973: Sliceplot of 2D cylindrical data https://bitbucket.org/yt_analysis/yt/issue/973/sliceplot-of-2d-cylindrical-d... Andrea Derdzinski: When I try to make a sliceplot of output from a 2D cylindrical FLASH simulation, ``` #!python from yt.mods import * pf = load('disc_hdf5_plt_cnt_0000') #attached slc = SlicePlot(pf, 'theta', 'dens') ``` but I get the following error: File "/Users/Shark/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 1842, in SlicePlot return AxisAlignedSlicePlot(ds, normal, fields, *args, **kwargs) File "/Users/Shark/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 1017, in __init__ window_size=window_size, aspect=aspect) File "/Users/Shark/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 618, in __init__ PlotWindow.__init__(self, *args, **kwargs) File "/Users/Shark/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 210, in __init__ self.data_source.center, ax) File "/Users/Shark/yt-x86_64/src/yt-hg/yt/geometry/coordinates/coordinate_handler.py", line 184, in sanitize_center return self.ds.arr(center), self.convert_to_cartesian(center) File "/Users/Shark/yt-x86_64/src/yt-hg/yt/geometry/coordinates/cylindrical_coordinates.py", line 146, in convert_to_cartesian return cylindrical_to_cartesian(coord) NameError: global name 'cylindrical_to_cartesian' is not defined _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (1)
-
Andrea Derdzinski