Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ama16 committed Mar 9, 2022
1 parent 66bd488 commit 4e48559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etna/analysis/plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def _get_labels_names(trend_transform, segments):
linear_coeffs = dict(zip(segments, ["" for i in range(len(segments))]))
if len(trend_transform) == 1 and isinstance(trend_transform[0], (LinearTrendTransform, TheilSenTrendTransform)):
for seg in segments:
linear_coeffs[seg] = ", k=" + f'{trend_transform[0].segment_transforms[seg]._linear_model.coef_[0]:g}'
linear_coeffs[seg] = ", k=" + f"{trend_transform[0].segment_transforms[seg]._linear_model.coef_[0]:g}"
return labels, linear_coeffs


Expand Down

0 comments on commit 4e48559

Please sign in to comment.