Arviz plot ppc for different variables separately

Thank you!
Analogously, is there also a way to separate the trace from the posterior in Arviz’ traceplot function az.plot_trace?

 az.plot_trace(trace, var_names=["X"])