MOD: improved histplot and traceplot