Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

title as parameter for TimeSeries.plot() #2639

Merged

Conversation

jonathankoch99
Copy link
Contributor

@jonathankoch99 jonathankoch99 commented Jan 8, 2025

Checklist before merging this PR:

  • Mentioned all issues that this PR fixes or addresses.
  • Summarized the updates of this PR under Summary.
  • Added an entry under Unreleased in the Changelog.

Fixes #2622 .

Summary

Adds the title attribute to TimeSeries.plot() as requested in #2622 . If no title is provided as attribute the method reverts to the original behavior.

Copy link
Collaborator

@madtoinou madtoinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution @jonathankoch99! Looks good to me, can you please just add an entry in the Unreleased section of the changelog and it should be ready to be merged!

Copy link
Collaborator

@dennisbader dennisbader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @jonathankoch99 for this PR, and welcome to the Darts community :D 🚀

Just some minor comments, then we can merge.

darts/timeseries.py Outdated Show resolved Hide resolved
darts/timeseries.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@dennisbader dennisbader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great now, thanks again 💯 🚀

@dennisbader dennisbader merged commit 0a52490 into unit8co:master Jan 8, 2025
9 checks passed
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.15%. Comparing base (5bc1960) to head (385ae5f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2639      +/-   ##
==========================================
- Coverage   94.20%   94.15%   -0.06%     
==========================================
  Files         141      141              
  Lines       15491    15491              
==========================================
- Hits        14594    14586       -8     
- Misses        897      905       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimeSeries.plot Title as parameter
3 participants