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

Add 'clim' parameters to enable control over the color scale of pressure plots. #166

Open
stmartin opened this issue Oct 27, 2023 · 0 comments

Comments

@stmartin
Copy link

stmartin commented Oct 27, 2023

Describe the new feature or enhancement

It would be beneficial to include a 'clim' parameter in 'render_steady_state_amplitudes' to allow for control over the color limits of the pressure plots. This feature would be useful for all image plots utilizing a color scale.

This feature would facilitate the comparison of simulation plots across different scenarios by ensuring they use a consistent color scale. The current implementation can be misleading in its interpretation, as it automatically adjusts the color scale limits.

Describe your proposed implementation

def render_steady_state_amplitudes(
        self,
        show_sources: bool = True,
        show_target: bool = True,
        show_material_outlines: bool = True,
        clim: Tuple[float, float] = None,
    )
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

No branches or pull requests

1 participant