Skip to content

Commit da5be15

Browse files
committed
TRV: fix legend size in Nyquist plots
1 parent 97a5230 commit da5be15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

control/freqplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,8 @@ def _parse_linestyle(style_name, allow_false=False):
19351935

19361936
# Add legend if there is more than one system plotted
19371937
if len(labels) > 1:
1938-
legend = ax.legend(lines, labels, loc=legend_loc)
1938+
with plt.rc_context(rcParams):
1939+
legend = ax.legend(lines, labels, loc=legend_loc)
19391940
else:
19401941
legend=None
19411942

0 commit comments

Comments
 (0)