Skip to content

Commit

Permalink
#1084 swap parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimms committed Jul 7, 2020
1 parent 201cdb6 commit a83b2fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pybamm/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def get_variable_array(self, *variables):
else:
return tuple(variable_arrays)

def plot(self, quick_plot_vars=None, output_variables=None, **kwargs):
def plot(self, output_variables=None, quick_plot_vars=None, **kwargs):
"""
A method to quickly plot the outputs of the simulation. Creates a
:class:`pybamm.QuickPlot` object (with keyword arguments 'kwargs') and
Expand All @@ -541,6 +541,8 @@ def plot(self, quick_plot_vars=None, output_variables=None, **kwargs):
----------
output_variables: list, optional
A list of the variables to plot.
quick_plot_vars: list, optional
A list of the variables to plot. Deprecated, use output_variables instead.
**kwargs
Additional keyword arguments passed to
:meth:`pybamm.QuickPlot.dynamic_plot`.
Expand Down

0 comments on commit a83b2fb

Please sign in to comment.