For certain systems, when "indent_direction" is set to 'none', a ValueError is thrown on https://github.com/python-control/python-control/blob/71bd7319fe324f7b7ff14b8210420843bf06d7d2/control/freqplot.py#L1456 when there is an attempt at casting the number of encirclements to an integer, but the number of encirclements is not a valid number (NaN). Code to reproduce: ```Python import sympy as smp from control import tf, nyquist_response s = tf('s') tf1 = ((1 + 5/s)/(1 + 0.5/s))**2 # Double-Lag-Compensator nyquist_response(tf1, warn_encirclements=False, indent_direction='none') ```