I am trying the code from here:
At the last example code, I get an error and the correlation plot cannot be plotted. I only change the farmers name into direction name.
ValueError: The number of FixedLocator locations (6), usually from a call to set_ticks, does not match the number of ticklabels (7).
FYI Matplotlib has their own Discourse, which is probably a better venue for accessing Matplotlib expertise and support: https://discourse.matplotlib.org/