GeezerVison is showing github.com — Move ctrlplot code prior to upcoming PR by murrayrm · Pull Request #1033 · python-control/python-control
Conversation
This PR moves around some functions from freqplot.py and timeplot.py to ctrlplot.py in preparation for an upcoming PR that is going to modify those functions. There is no change in functionality, but I want people to be able to see the changes I am making to functions in ctrlplot.py in the upcoming PR => need to move things around first so that git diff can highlight the changes.
Summary of changes:
- The
rcParams dict used to customize plotting functions is now in ctrlplot.py (instead of having two separate but identical rcParams in freqplot.py and timpelot.py).
- The
_process_ax_keyword utility function is now in ctrlplot.py (instead of freqplot.py).
- The
_process_line_labels utility function is now in ctrlplot.py (instead of freqplot.py).
- The
_get_line_labels utility function is now in ctrlplot.py (instead of freqplot.py).
- The
_add_arrows_to_line2D utility function is now in ctrlplot.py (instead of freqplot.py).
- Rearranged some functions in
grid.py.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coveralls
commented
Jul 21, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

coverage: 94.629%. remained the same
when pulling 009b821 on murrayrm:ctrlplot_refactor-27Jun2024
into da64e0e on python-control:main.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
# Utility functions
|
|
|
#
|
|
|
# These functions are used by plotting routines to provide a consistent way
|
|
|
# of processing and displaing information.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
# of processing and displaing information. |
|
# of processing and displaying information. |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.