Running median and Median per bin are not the same thing! Running median requires a window_size parameter and the shape the running median takes depends on the window size. What you call here the running_median is actually a median per bin.