Skip to content

Commit 010b184

Browse files
committed
move plotutil to ctrlplot
1 parent e8afe99 commit 010b184

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

control/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
from .timeplot import *
8484

8585
from .bdalg import *
86+
from .ctrlplot import *
8687
from .delay import *
8788
from .descfcn import *
8889
from .dtime import *
@@ -92,7 +93,6 @@
9293
from .modelsimp import *
9394
from .nichols import *
9495
from .phaseplot import *
95-
from .plotutil import *
9696
from .pzmap import *
9797
from .rlocus import *
9898
from .statefbk import *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# plotutil.py - utility functions for plotting
1+
# ctrlplot.py - utility functions for plotting
22
# Richard M. Murray, 14 Jun 2024
33
#
44
# Collection of functions that are used by various plotting functions.

control/freqplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
from . import config
2121
from .bdalg import feedback
22+
from .ctrlplot import suptitle, _find_axes_center
2223
from .ctrlutil import unwrap
2324
from .exception import ControlMIMONotImplemented
2425
from .frdata import FrequencyResponseData
2526
from .lti import LTI, _process_frequency_response, frequency_response
2627
from .margins import stability_margins
27-
from .plotutil import suptitle, _find_axes_center
2828
from .statesp import StateSpace
2929
from .timeplot import _make_legend_labels
3030
from .xferfcn import TransferFunction
@@ -35,7 +35,7 @@
3535
'bode', 'nyquist', 'gangof4']
3636

3737
# Default font dictionary
38-
# TODO: move common plotting params to 'ctrlplot' (in plotutil)
38+
# TODO: move common plotting params to 'ctrlplot'
3939
_freqplot_rcParams = mpl.rcParams.copy()
4040
_freqplot_rcParams.update({
4141
'axes.labelsize': 'small',

control/nichols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
import numpy as np
1919

2020
from . import config
21+
from .ctrlplot import suptitle
2122
from .ctrlutil import unwrap
2223
from .freqplot import _default_frequency_range, _freqplot_defaults, \
2324
_get_line_labels, _process_ax_keyword
2425
from .lti import frequency_response
25-
from .plotutil import suptitle
2626
from .statesp import StateSpace
2727
from .xferfcn import TransferFunction
2828

0 commit comments

Comments
 (0)