Closed kirstenncrane closed 1 year ago
Yup, that's possible. Use vmin and vmax arguments when using the heatmap method. You could use the minimum and maximum from all of the heatmaps to decide these levels. I think something like bs['statistic].max() might work for finding it for one heatmap.
Perfect, thanks @andrewRowlinson !
Hi,
I am plotting three pitches side by side using
pitch.grid()
and creating a heatmap on each one with something likepitch.heatmap(bin_stat_i, axs[i], cmap='Reds', edgecolors='#f9f9f9')
, and the pitch.label_heatmap() function as well.The numeric labels are comparable across pitches, but the colors are not, they each use their own scale based on the min and max of the individual heatmap. Is there a way for the three to use the same colour scale?
Thank you for any help!