Skip to content

Add color parameter to map_tracks() function in plotting.py#564

Open
ecaldon wants to merge 1 commit intotobac-project:RC_v1.6.xfrom
ecaldon:main
Open

Add color parameter to map_tracks() function in plotting.py#564
ecaldon wants to merge 1 commit intotobac-project:RC_v1.6.xfrom
ecaldon:main

Conversation

@ecaldon
Copy link
Copy Markdown

@ecaldon ecaldon commented Feb 11, 2026

Sorry, this is a duplicate of a previous pull request (#563 ) that I accidentally closed when I deleted a repository. It adds a color parameter to the map_tracks() function in plotting.py. Here is the docstring for your convenience:

color : str, optional
Color of all lines. Default is "", which MatPlotLib
defaults as the T10 color cycle.

  • Have you followed our guidelines in CONTRIBUTING.md?
  • Have you self-reviewed your code and corrected any misspellings?
  • Have you written documentation that is easy to understand?
  • Have you written descriptive commit messages?
  • Have you added NumPy docstrings for newly added functions?
  • Have you formatted your code using black?
  • If you have introduced a new functionality, have you added adequate unit tests?
  • Have all tests passed in your local clone?
  • If you have introduced a new functionality, have you added an example notebook?
  • Have you kept your pull request small and limited so that it is easy to review?
  • Have the newest changes from this branch been merged?

@github-actions
Copy link
Copy Markdown

Linting results by Pylint:

Your code has been rated at 8.36/10 (previous run: 8.36/10, +0.00)
The linting score is an indicator that reflects how well your code version follows Pylint’s coding standards and quality metrics with respect to the RC_v1.6.x branch.
A decrease usually indicates your new code does not fully meet style guidelines or has potential errors.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 64.84%. Comparing base (fcb7cd3) to head (84bb8e3).

Files with missing lines Patch % Lines
tobac/plotting.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           RC_v1.6.x     #564   +/-   ##
==========================================
  Coverage      64.84%   64.84%           
==========================================
  Files             27       27           
  Lines           3985     3985           
==========================================
  Hits            2584     2584           
  Misses          1401     1401           
Flag Coverage Δ
unittests 64.84% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@freemansw1
Copy link
Copy Markdown
Member

Incidentally, deleting and reopening seems to have resolved whatever merge conflict there was.

@freemansw1 freemansw1 added this to the v.1.6.4 milestone Feb 12, 2026
@freemansw1 freemansw1 self-requested a review February 12, 2026 17:35
@ecaldon
Copy link
Copy Markdown
Author

ecaldon commented Feb 12, 2026 via email

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.

2 participants