Show_batch does not show more than 9 images

dls.show_batch(nrows=3, ncols=4)

In this section, changing the code to the following and expecting to get 12 images but it still shows only 9. How can I get more images out of this?

dls.show_batch() has a max_n argument which is set to 9 as default.

Try dls.show_batch(nrows=3, ncols=4, max_n=12).