Skip to content

Add FrequencyResponseList to explicit exports __all__ #1027

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

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions control/freqplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from .statesp import StateSpace
from .xferfcn import TransferFunction

__all__ = ['bode_plot', 'NyquistResponseData', 'nyquist_response',
'nyquist_plot', 'singular_values_response',
__all__ = ['FrequencyResponseList', 'bode_plot', 'NyquistResponseData',
'nyquist_response', 'nyquist_plot', 'singular_values_response',
'singular_values_plot', 'gangof4_plot', 'gangof4_response',
'bode', 'nyquist', 'gangof4']

Expand Down
4 changes: 4 additions & 0 deletions control/tests/kwargs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ def test_response_plot_kwargs(data_fcn, plot_fcn, mimo):
match="(has no property|unexpected keyword|unrecognized keyword)"):
response.plot(unknown=None)

def test_response_list_plot_kwargs():
pass

#
# List of all unit tests that check for unrecognized keywords
#
Expand Down Expand Up @@ -300,6 +303,7 @@ def test_response_plot_kwargs(data_fcn, plot_fcn, mimo):
'FrequencyResponseData.__init__':
frd_test.TestFRD.test_unrecognized_keyword,
'FrequencyResponseData.plot': test_response_plot_kwargs,
'FrequencyResponseList.plot': test_response_list_plot_kwargs,
'DescribingFunctionResponse.plot':
descfcn_test.test_describing_function_exceptions,
'InputOutputSystem.__init__': test_unrecognized_kwargs,
Expand Down
Loading