<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>Currently I'm using the plot modification callback "annotate_streamlines". However, I got the following error:</div><div><br></div><div><div><font face="DejaVu LGC Sans Mono">Traceback (most recent call last):</font></div><div><font face="DejaVu LGC Sans Mono"> File "magnetic_streamline.py", line 9, in <module></font></div><div><font face="DejaVu LGC Sans Mono"> slc.annotate_streamlines('magx','magy',factor=10.0,density=6)</font></div><div><font face="DejaVu LGC Sans Mono"> File "/aphelion/jisuoqing/sw/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 101, in newfunc</font></div><div><font face="DejaVu LGC Sans Mono"> args[0]._setup_plots()</font></div><div><font face="DejaVu LGC Sans Mono"> File "/aphelion/jisuoqing/sw/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 935, in _setup_plots</font></div><div><font face="DejaVu LGC Sans Mono"> self.run_callbacks(f)</font></div><div><font face="DejaVu LGC Sans Mono"> File "/aphelion/jisuoqing/sw/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line 955, in run_callbacks</font></div><div><font face="DejaVu LGC Sans Mono"> callback(cbw)</font></div><div><font face="DejaVu LGC Sans Mono"> File "/aphelion/jisuoqing/sw/yt-x86_64/src/yt-hg/yt/visualization/plot_modifications.py", line 450, in __call__</font></div><div><font face="DejaVu LGC Sans Mono"> plot._axes.streamplot(X,Y, pixX, pixY, density = self.dens,</font></div><div><font face="DejaVu LGC Sans Mono">AttributeError: 'Axes' object has no attribute 'streamplot'</font></div></div><div><br></div><div>Now my yt version code is 2ad91aa91e30. In another desktop I remain another version 04fa9a7d799c, in which the annotate_streamlines callback works for the same data file.</div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Best wishes,</div><div>Suoqing</div></body></html>