[yt-svn] [yt_analysis/yt] Field names should be a keyword argument for user-visible plot window member functions (issue #456)

Nathan Goldbaum issues-reply at bitbucket.org
Mon Oct 22 12:31:55 PDT 2012


--- you can reply above this line ---

New issue 456: Field names should be a keyword argument for user-visible plot window member functions
https://bitbucket.org/yt_analysis/yt/issue/456/field-names-should-be-a-keyword-argument

Nathan Goldbaum:

Right now when a user forgets to specify the name of the field in set_zlim, set_log,  set_transform and set_cmap an opqaue error message about not supplying enough arguments is printed.  Instead, the field should be a keyword argument (which would break backwards compatibility in the API, unfortunately) so that if no field is supplied and there is only one field being tracked, the plot for that field is adjusted.  This would also allow us to print a more helpful error message when a field name has to be specified.

Responsible: ngoldbaum
--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list