[yt-svn] commit/yt-3.0: ngoldbaum: Stripping the max_level keyword off of ProjectionPlot to reflect the state of YTQuadProjectionBase.
Bitbucket
commits-noreply at bitbucket.org
Wed Nov 21 15:13:49 PST 2012
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/changeset/a4bd4d12a47e/
changeset: a4bd4d12a47e
branch: yt-3.0
user: ngoldbaum
date: 2012-11-22 00:13:31
summary: Stripping the max_level keyword off of ProjectionPlot to reflect the state of YTQuadProjectionBase.
affected #: 1 file
diff -r 57db505f0622e3f3de950413d8556293174aa461 -r a4bd4d12a47e614d6e3b9ab322f59c630c0bc6bf yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -1082,7 +1082,7 @@
_frb_generator = FixedResolutionBuffer
def __init__(self, pf, axis, fields, center='c', width=None, axes_unit=None,
- weight_field=None, max_level=None, origin='center-window', fontsize=15):
+ weight_field=None, origin='center-window', fontsize=15):
r"""Creates a projection plot from a parameter file
Given a pf object, an axis to project along, and a field name
@@ -1141,8 +1141,6 @@
the center of the plot window.
weight_field : string
The name of the weighting field. Set to None for no weight.
- max_level: int
- The maximum level to project to.
fontsize : integer
The size of the fonts for the axis, colorbar, and tick labels.
@@ -1163,7 +1161,7 @@
(bounds, center, units) = GetWindowParameters(axis, center, width, pf)
if axes_unit is None and units != ('1', '1'):
axes_unit = units
- proj = pf.h.proj(fields, axis, weight_field=weight_field,max_level=max_level,center=center)
+ proj = pf.h.proj(fields, axis, weight_field=weight_field, center=center)
PWViewerMPL.__init__(self,proj,bounds,origin=origin)
self.set_axes_unit(axes_unit)
Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/
--
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