Skip to content

Conversation

@dennisbader
Copy link
Collaborator

@dennisbader dennisbader commented Nov 24, 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 #2380.

Summary

  • Adds a new configuration system for Darts, similar to pandas' options and settings.
    • Users can now configure global behavior such as:
      • display.[max_rows, max_cols]: Maximum number of rows or columns to display in TimeSeries representation (default: 10)
      • plotting.use_darts_style: Whether to apply Darts' custom matplotlib plotting style (default: True). Changes take effect immediately and apply to all subsequent plots.
    • The configuration API includes: get_option(), set_option(), reset_option(), describe_option(), and option_context() for temporary changes.

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.55%. Comparing base (b1d45b5) to head (5d7db09).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2956      +/-   ##
==========================================
- Coverage   95.59%   95.55%   -0.04%     
==========================================
  Files         152      153       +1     
  Lines       16297    16403     +106     
==========================================
+ Hits        15579    15674      +95     
- Misses        718      729      +11     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

Gridlines automatically created in matplotlib and seaborn plots [BUG]

2 participants