Skip to content

Conversation

@hoyer-a
Copy link
Member

@hoyer-a hoyer-a commented Dec 22, 2025

Merges into #222

Which issue(s) are closed by this pull request?

Closes #183

Changes proposed in this pull request:

  • Add style parameter to plot module
  • Set pyfar 'light' style as default
  • Create baseline plots for light / dark pyfar style

@hoyer-a hoyer-a added enhancement New feature or request plot labels Dec 22, 2025
@hoyer-a hoyer-a added this to the v1.0.0 milestone Dec 22, 2025
@hoyer-a hoyer-a moved this from Backlog to Require review in Weekly Planning Dec 22, 2025
Copy link
Member

@f-brinkmann f-brinkmann left a comment

Choose a reason for hiding this comment

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

Thanks. Looks good to me. This also improved the look of the example plots. For balloon and balloon_wireframe the axes are still clipping the colorbar, but I would leave this as is for now.

@github-project-automation github-project-automation bot moved this from Require review to Reviewer Approved in Weekly Planning Dec 22, 2025
Copy link
Member

@ahms5 ahms5 left a comment

Choose a reason for hiding this comment

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

Thanks, looks great, I wonder why if the defult plots have noch changed due to the new default for style.

@hoyer-a
Copy link
Member Author

hoyer-a commented Dec 29, 2025

I only generated baseline plots for the new style parameter. I would update #242 once this is merged

@f-brinkmann
Copy link
Member

@mberz do you want to review as well? We could merge otherwise.

Copy link
Member

@mberz mberz left a comment

Choose a reason for hiding this comment

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

Largely good to go.
Just one point: I'd suggest to import the context manager with a more descriptive name.



def scatter(coordinates, ax=None, **kwargs):
def scatter(coordinates, ax=None, style='light', **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

I've opened an issue on the naming convention, which is a bit too general in my perspective, but should not be discussed in this PR.
See pyfar/pyfar#879

@hoyer-a hoyer-a force-pushed the refactor/collect_cb_changes branch from 8311b1e to cd4c63a Compare January 9, 2026 11:02
@hoyer-a hoyer-a force-pushed the plots/add-style-parameter branch from c1680dc to 7b33f27 Compare January 9, 2026 11:18
@hoyer-a hoyer-a requested a review from mberz January 9, 2026 11:18
@mberz mberz merged commit 35566d3 into refactor/collect_cb_changes Jan 9, 2026
10 of 11 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer Approved to Done in Weekly Planning Jan 9, 2026
@mberz mberz deleted the plots/add-style-parameter branch January 9, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request plot

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants