Unable to use annotate_contour

Hi, everyone, I have tried to use the function annotate_contour after SlicePlot. Unfortunately, the program ends up with no error info (see the output below) and without output figures. When I move the annotate_contour part out and keep SlicePlot, there are output SlicePlot figures. Besides, my YT version is 4.0.5 Any suggestions will be appreciated! Best wishes, He Yifeng Here are the codes: name='v' slc=yt.SlicePlot(ds, 'z', name, width=((aa,'cm'),(bb,'cm')),center=([cc,dd,0.01],'cm')) slc.annotate_contour( ('boxlib',name), levels=5, factor=4, clim=(-1e2,1e2), label=True, plot_args = {"colors": "k", "linestyles": "solid"}, text_args = {"colors": "w"} ) slc.set_cmap(field=("boxlib", name), cmap="Rainbow") slc.save() Here is the output: yt : [WARNING ] 2023-02-08 13:15:49,770 Switching to symlog colorbar scaling. yt : [WARNING ] 2023-02-08 13:15:51,632 Plotting ('boxlib', 'v'): Both positive and negative values. Min = -122.52825124157069 dimensionless, Max = 122.528253455 35416 dimensionless. yhrun: tasks 0,2-23: running yhrun: task 1: exited abnormally yhrun: Terminating job step 19926619.0 yhrun: Job step aborted: Waiting up to 2 seconds for job step to finish.
participants (1)
-
hyf@stu.pku.edu.cn