Skip to content

Commit 2fb3c63

Browse files
fixed hopjects label for plotting
1 parent 1c491ba commit 2fb3c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightcurves/LC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ def plot_hop(
10331033
if ax is None:
10341034
ax = plt.gca()
10351035
if label is None:
1036-
label = "hop " + str(hop.method)
1036+
label = str(self.hops[0].method)
10371037

10381038
# Make color iterable
10391039
if isinstance(color, str):

0 commit comments

Comments
 (0)