Skip to content

Commit

Permalink
Updated docstrings of plot_spectrum
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed May 13, 2020
1 parent 0657b90 commit 32ff773
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions species/plot/plot_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ def plot_spectrum(boxes: list,
offset : tuple(float, float)
Offset for the label of the x- and y-axis.
legend : str, tuple, dict, list(dict, dict), None
Location of the legend (str, tuple) or a dictionary with the ``**kwargs`` of
``matplotlib.pyplot.legend``, for example ``{'loc': 'upper left', 'fontsize: 12.}``.
Location of the legend (str or tuple(float, float)) or a dictionary with the ``**kwargs``
of ``matplotlib.pyplot.legend``, for example ``{'loc': 'upper left', 'fontsize: 12.}``.
Alternatively, a list with two values can be provided to separate the model and data
handles in two legends. Each of these two elements can be set to ``None``. For example,
``[None, {'loc': 'upper left', 'fontsize: 12.}]``, if only the data points should be
included in a legend.
figsize : tuple(float, float)
Figure size.
object_type : str
Expand Down

0 comments on commit 32ff773

Please sign in to comment.