gwhite wrote:
> plt.title(' '.join([r'$\mathrm{poles}$', r'$(\times)$',\
> r'$\mathrm{\&}$', r'$\mathrm{zeros}$',
> r'$(\circ)$', r'$\mathrm{of}$',\
> r'$T(s)T(-s)$']), fontsize=16)
Note that adjacent string literals on the same line or inside parentheses
are automatically concatenated by the compiler. So you may write the above
as
plt.title(
r'$\mathrm{poles}$ $(\times)$ '
r'$\mathrm{\&}$ $\mathrm{zeros}$ '
r'$(\circ)$ $\mathrm{of}$ $T(s)T(-s)$',
fontsize=16)
Even if you leave everything else as is you don't need any backslashes at
the end of the line.
--
https://mail.python.org/mailman/listinfo/python-list