From daa6b9a10b9bbb523d93995d3e0bb9fd28810589 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Tue, 8 Nov 2016 18:20:08 -0500 Subject: [PATCH] Link Universe.plot docstring to matplotlib docs --- docs/source/conf.py | 3 ++- openmc/universe.py | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 75e621bc17..672217c84f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -249,5 +249,6 @@ napoleon_use_ivar = True intersphinx_mapping = { 'python': ('https://docs.python.org/3', None), 'numpy': ('http://docs.scipy.org/doc/numpy/', None), - 'pandas': ('http://pandas.pydata.org/pandas-docs/stable/', None) + 'pandas': ('http://pandas.pydata.org/pandas-docs/stable/', None), + 'matplotlib': ('http://matplotlib.org/', None) } diff --git a/openmc/universe.py b/openmc/universe.py index 260b9faf4c..b2e7dbb920 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -189,11 +189,9 @@ class Universe(object): Hashable object which is used to seed the random number generator used to select colors. If None, the generator is seeded from the current time. - - Keyword arguments - ----------------- - All keyword arguments are passed to matplotlib.pyplot.imshow. See the - matplotlib documentation for available kwargs. + **kwargs + All keyword arguments are passed to + :func:`matplotlib.pyplot.imshow`. """ import matplotlib.pyplot as plt