Skip to content

Commit 10aad62

Browse files
committed
docstring
1 parent 44ed389 commit 10aad62

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

v2dl5/plot.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,22 @@ def plot_maps(self, exclusion_mask=None):
4545
self.plot_theta2()
4646

4747
def plot_spectra(self, flux_points=None, model=None, y_min=None, y_max=None):
48-
"""Spectrum related plots."""
48+
"""
49+
Spectrum related plots.
50+
51+
Parameters
52+
----------
53+
flux_points : `~gammapy.datasets.FluxPointsDataset`
54+
Flux points dataset to plot
55+
model : `~gammapy.modeling.models.Model`
56+
Model to plot
57+
y_min : float, optional
58+
Minimum y-axis value for the SED plot
59+
y_max : float, optional
60+
Maximum y-axis value for the SED plot
61+
62+
63+
"""
4964
for dataset in self.data_set:
5065
self.plot_fit(dataset)
5166

0 commit comments

Comments
 (0)