Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony Lewis committed Jun 27, 2015
1 parent 02f224c commit 95f9a76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ GetDist GUI

Run the GetDistGUI.py script to run the graphical user interface. This requires PySide, but will run on Windows, Linux and Mac.
It allows you to open a folder of chain files, then easily select, open, plot and compare, as well as viewing standard GetDist outputs and tables.
See the `GUI Readme <http://cosmologist.info/cosmomc/readme_gui.html>`_.
See the `GUI Readme <http://getdist.readthedocs.org/en/latest/gui.html>`_.


Using with CosmoMC
Expand Down
6 changes: 3 additions & 3 deletions getdist/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ def add_1d(self, root, param, plotno=0, normalized=False, ax=None, **kwargs):
:param plotno: The index of the line being added to the plot
:param normalized: True if areas under lines should match, False if normalized to unit maximum
:param ax: optional :class:`~matplotlib:matplotlib.axes.Axes` instance to add to (defaults to current plot)
:param kwargs: arguments for :func:`~matplotlib:matplotlib.axes.Axes.plot`
:param kwargs: arguments for :func:`~matplotlib:matplotlib.pyplot.plot`
:return: min, max for the plotted density
"""
ax = ax or plt.gca()
Expand Down Expand Up @@ -2017,15 +2017,15 @@ def add_colorbar(self, param, orientation='vertical', **ax_args):

def add_line(self, xdata, ydata, zorder=0, color=None, ls=None, ax=None, **kwargs):
"""
Adds a line to the given axes, using :func:`~matplotlib:matplotlib.pyplot.Line2D`
Adds a line to the given axes, using :class:`~matplotlib:matplotlib.lines.Line2D`
:param xdata: pair of x coordinates
:param ydata: pair of y coordinates
:param zorder: Z-order for Line2D
:param color: The color of the line, uses settings.axis_marker_color by default
:param ls: The line style to be used, uses settings.axis_marker_ls by default
:param ax: the :class:`~matplotlib:matplotlib.axes.Axes` instance to use, defaults to current axes
:param kwargs: Additional arguments for :func:`~matplotlib:matplotlib.pyplot.Line2D`
:param kwargs: Additional arguments for :class:`~matplotlib:matplotlib.lines.Line2D`
"""
if color is None: color = self.settings.axis_marker_color
if ls is None: ls = self.settings.axis_marker_ls
Expand Down

0 comments on commit 95f9a76

Please sign in to comment.