I have a fits image of shape (50, 4, 256, 256), where 50 is the number of time slots used to create d fits image, 4 is the stokes parameters {I, Q, U, V} & 256, 256 is the shape of the image. How do I generate a log scale plot from this type of shape using Python? Thanks in advance.