Skip to content

Commit

Permalink
fix sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed Apr 11, 2016
1 parent 98daf99 commit a26c36b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gammapy/spectrum/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def plot(self, ax=None, energy_unit='TeV', energy_range=None,
**kwargs):
"""Plot fit function
kwargs are forwarded to :func:`~matplotlib.pyplot.errorbar`
Parameters
----------
ax : `~matplolib.axes`, optional
Expand All @@ -486,6 +487,7 @@ def plot(self, ax=None, energy_unit='TeV', energy_range=None,
Power of energy to multiply flux axis with
n_points : int
Number of evaluation nodes
Returns
-------
ax : `~matplolib.axes`, optional
Expand All @@ -510,6 +512,7 @@ def plot_butterfly(self, ax=None, energy_unit='TeV', energy_range=None,
flux_unit='cm-2 s-1 TeV-1', energy_power=0,
n_points=1000, **kwargs):
"""Plot butterfly
Parameters
----------
ax : `~matplolib.axes`, optional
Expand All @@ -524,6 +527,7 @@ def plot_butterfly(self, ax=None, energy_unit='TeV', energy_range=None,
Power of energy to multiply flux axis with
n_points : int
Number of evaluation nodes
Returns
-------
ax : `~matplolib.axes`, optional
Expand Down
1 change: 1 addition & 0 deletions gammapy/spectrum/tests/test_flux_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def int_flux_model(E_min, E_max):


@requires_data('gammapy-extra')
@requires_dependency('scipy')
def test_3fgl_flux_points():
"""Test reading flux points from 3FGL and also conversion from int to diff points"""
from gammapy.catalog import source_catalogs
Expand Down

0 comments on commit a26c36b

Please sign in to comment.