[yt-svn] commit/yt-doc: ngoldbaum: Fixing the plot annotation reference in the cheat sheet to reflect the plot window API.
Bitbucket
commits-noreply at bitbucket.org
Wed Feb 13 14:14:34 PST 2013
1 new commit in yt-doc:
https://bitbucket.org/yt_analysis/yt-doc/commits/4234652ba545/
changeset: 4234652ba545
user: ngoldbaum
date: 2013-02-13 23:14:21
summary: Fixing the plot annotation reference in the cheat sheet to reflect the plot window API.
affected #: 1 file
diff -r a27de1d97ef7fd69e8ce2f13060801bee8ab1310 -r 4234652ba5452fc86b468bee401faf0b2c4a7af6 cheatsheet.tex
--- a/cheatsheet.tex
+++ b/cheatsheet.tex
@@ -273,7 +273,7 @@
\subsection{Plot Annotations}
\settowidth{\MyLen}{\texttt{multicol} }
-Plot callbacks are functions itemized in a registry that is attached to every plot object. They can be accessed and then called like \texttt{ prj.modify["velocity"](factor=16, normalize=False)}. Most callbacks also accept a {\it plot\_args} dict that is fed to matplotlib annotator. \\
+Plot callbacks are functions itemized in a registry that is attached to every plot object. They can be accessed and then called like \texttt{ prj.annotate\_velocity(factor=16, normalize=False)}. Most callbacks also accept a {\it plot\_args} dict that is fed to matplotlib annotator. \\
\texttt{velocity({\it factor=},{\it scale=},{\it scale\_units=}, {\it normalize=})} \textemdash\ Uses field "x-velocity" to draw quivers\\
\texttt{magnetic\_field({\it factor=},{\it scale=},{\it scale\_units=}, {\it normalize=})} \textemdash\ Uses field "Bx" to draw quivers\\
\texttt{quiver({\it field\_x},{\it field\_y},{\it factor=},{\it scale=},{\it scale\_units=}, {\it normalize=})} \\
Repository URL: https://bitbucket.org/yt_analysis/yt-doc/
--
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