The formatting of the lines argument was modified to be more flexible, I have several examples of using the lines argument in my blog ArviZ in depth: plot_trace | Oriol unraveled.
I would also recommend using arviz explicitly az.plot_trace or if you want to avoid adding a new namespace to your code, use the aliases to arviz functions provided by pymc3 (make sure to install the latest version), pm.plot_trace.