Skip to content

Conversation

murrayrm
Copy link
Member

@murrayrm murrayrm commented Feb 3, 2025

Small PR to fix a bug where setting display_margins=True in bode_plot() caused the title to disappear. The bug was caused by overwriting the ax variable...

Also added logic to allow the grid to be turned back on (it defaults to off if display_margins is True).

Unit tests included that catches the previous bug and verifies new functionality.

@coveralls
Copy link

coveralls commented Feb 3, 2025

Coverage Status

coverage: 94.752% (+0.02%) from 94.731%
when pulling 0b12203 on murrayrm:fix_bode_margins_title-02Feb2025
into 9fb84cb on python-control:main.

@murrayrm murrayrm merged commit f73e893 into python-control:main Feb 3, 2025
24 checks passed
@murrayrm murrayrm added this to the 0.10.2 milestone Feb 19, 2025
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.

3 participants