79325027

Date: 2025-01-02 21:48:54
Score: 4
Natty:
Report link

Removing the bins argument from the hexbin generator seems to fix the plot scale. I don't understand why, maybe because some data was outside of the bin limits?

    hexbin = ax.hexbin(x=player_sorted.LOC_X, y=player_sorted.LOC_Y, C=player_sorted['Relative Percentage'], gridsize=50,
               mincnt=2, edgecolors='white', cmap='RdBu_r', vmin=-0.1, vmax=0.1)

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mylesmoose