|
50 | 50 | 'freqplot.share_magnitude': 'row', |
51 | 51 | 'freqplot.share_phase': 'row', |
52 | 52 | 'freqplot.share_frequency': 'col', |
53 | | - 'freqplot.suptitle_frame': 'axes', |
| 53 | + 'freqplot.title_frame': 'axes', |
54 | 54 | } |
55 | 55 |
|
56 | 56 | # |
@@ -253,8 +253,8 @@ def bode_plot( |
253 | 253 | 'freqplot', 'initial_phase', kwargs, None, pop=True) |
254 | 254 | rcParams = config._get_param( |
255 | 255 | 'freqplot', 'rcParams', kwargs, _freqplot_defaults, pop=True) |
256 | | - suptitle_frame = config._get_param( |
257 | | - 'freqplot', 'suptitle_frame', kwargs, _freqplot_defaults, pop=True) |
| 256 | + title_frame = config._get_param( |
| 257 | + 'freqplot', 'title_frame', kwargs, _freqplot_defaults, pop=True) |
258 | 258 |
|
259 | 259 | # Set the default labels |
260 | 260 | freq_label = config._get_param( |
@@ -977,10 +977,10 @@ def gen_zero_centered_series(val_min, val_max, period): |
977 | 977 | else: |
978 | 978 | # Allow data to set the title (used by gangof4) |
979 | 979 | title = data[0].title |
980 | | - _update_plot_title(title, fig, rcParams=rcParams, frame=suptitle_frame) |
| 980 | + _update_plot_title(title, fig, rcParams=rcParams, frame=title_frame) |
981 | 981 | elif ax is None: |
982 | 982 | _update_plot_title( |
983 | | - title, fig=fig, rcParams=rcParams, frame=suptitle_frame, |
| 983 | + title, fig=fig, rcParams=rcParams, frame=title_frame, |
984 | 984 | use_existing=False) |
985 | 985 |
|
986 | 986 | # |
@@ -1712,8 +1712,8 @@ def nyquist_plot( |
1712 | 1712 | 'nyquist', 'start_marker', kwargs, _nyquist_defaults, pop=True) |
1713 | 1713 | start_marker_size = config._get_param( |
1714 | 1714 | 'nyquist', 'start_marker_size', kwargs, _nyquist_defaults, pop=True) |
1715 | | - suptitle_frame = config._get_param( |
1716 | | - 'freqplot', 'suptitle_frame', kwargs, _freqplot_defaults, pop=True) |
| 1715 | + title_frame = config._get_param( |
| 1716 | + 'freqplot', 'title_frame', kwargs, _freqplot_defaults, pop=True) |
1717 | 1717 |
|
1718 | 1718 | # Set line styles for the curves |
1719 | 1719 | def _parse_linestyle(style_name, allow_false=False): |
@@ -1985,7 +1985,7 @@ def _parse_linestyle(style_name, allow_false=False): |
1985 | 1985 | if title is None: |
1986 | 1986 | title = "Nyquist plot for " + ", ".join(labels) |
1987 | 1987 | _update_plot_title( |
1988 | | - title, fig=fig, rcParams=rcParams, frame=suptitle_frame, |
| 1988 | + title, fig=fig, rcParams=rcParams, frame=title_frame, |
1989 | 1989 | use_existing=False) |
1990 | 1990 |
|
1991 | 1991 | # Legacy return pocessing |
@@ -2321,8 +2321,8 @@ def singular_values_plot( |
2321 | 2321 | 'freqplot', 'grid', kwargs, _freqplot_defaults, pop=True) |
2322 | 2322 | rcParams = config._get_param( |
2323 | 2323 | 'freqplot', 'rcParams', kwargs, _freqplot_defaults, pop=True) |
2324 | | - suptitle_frame = config._get_param( |
2325 | | - 'freqplot', 'suptitle_frame', kwargs, _freqplot_defaults, pop=True) |
| 2324 | + title_frame = config._get_param( |
| 2325 | + 'freqplot', 'title_frame', kwargs, _freqplot_defaults, pop=True) |
2326 | 2326 |
|
2327 | 2327 | # If argument was a singleton, turn it into a tuple |
2328 | 2328 | data = data if isinstance(data, (list, tuple)) else (data,) |
@@ -2458,7 +2458,7 @@ def singular_values_plot( |
2458 | 2458 | if title is None: |
2459 | 2459 | title = "Singular values for " + ", ".join(labels) |
2460 | 2460 | _update_plot_title( |
2461 | | - title, fig=fig, rcParams=rcParams, frame=suptitle_frame, |
| 2461 | + title, fig=fig, rcParams=rcParams, frame=title_frame, |
2462 | 2462 | use_existing=False) |
2463 | 2463 |
|
2464 | 2464 | # Legacy return processing |
|
0 commit comments