Move ctrlplot code prior to upcoming PR by murrayrm · Pull Request #1033 · python-control/python-control
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
rcParamsdict used to customize plotting functions is now inctrlplot.py(instead of having two separate but identicalrcParamsinfreqplot.pyandtimpelot.py). - The
_process_ax_keywordutility function is now inctrlplot.py(instead offreqplot.py). - The
_process_line_labelsutility function is now inctrlplot.py(instead offreqplot.py). - The
_get_line_labelsutility function is now inctrlplot.py(instead offreqplot.py). - The
_add_arrows_to_line2Dutility function is now inctrlplot.py(instead offreqplot.py). - Rearranged some functions in
grid.py.