are the `display.width` and `display.expand_frame_repr` necessary here in the example?