Log Scale Matplotlib PatchCollection Colors
问题 I have a function that generates a heterogeneous mesh and then plots the patches. It specifies the lower and upper x and y edge for every bin. For example, a single bin is defined by the vector [x0, x1, y0, y1] . These coordinates translate to a bin: y1|---------| | | | bin | | | y0|---------| x0 x1 I have an (Nx4) mesh that contains N bins with [x0, x1, y0, y1] columns. To plot the data, I do the following: z_plot = z_stat / (dx * dy) # ``z_stat`` is a calculated z-value z_plot = z_plot / z