[yt-svn] commit/yt: ngoldbaum: This should be pf.h.max_level
Bitbucket
commits-noreply at bitbucket.org
Mon Nov 26 15:08:12 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/1597098bb078/
changeset: 1597098bb078
branch: yt
user: ngoldbaum
date: 2012-11-27 00:07:54
summary: This should be pf.h.max_level
affected #: 1 file
diff -r 3939099bf5f3e4ea283674be84e58447e52c9c4a -r 1597098bb078178b6569c3e37c345cc46bc58351 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -352,7 +352,7 @@
if min_level is None:
min_level = 0
if max_level is None:
- max_level = plot.data.max_level
+ max_level = plot.data.pf.h.max_level
for px_off, py_off in zip(pxs.ravel(), pys.ravel()):
pxo = px_off * dom[px_index]
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
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