Legend format – make bold border, or bigger / different font

Does anyone have a simple way to change the size of the legend to make it larger or make the border bold? a-o are just random ints group_a = (a,b,c,d,e) group_b = (f,g,h,i,j) group_c = (k,l,m,n,o) width = 0.2 x = np.arange(5) plt.bar(x-0.2, group_a, width, color = ‘cyan’) plt.bar(x, group_b, width, color = ‘orange’) plt.bar(x+0.2, … Read more

mplcursors with seaborn and multiple dataframes

I am trying to use mplcursors when plotting data from multiple pandas DataFrames (or from multiple subsets of a single DataFrame).
I have read the answers of this question and this one, as well as this one, which is somewhat redundent with the first one.
I am able to adapt the code of the documentation on Extracting data and labels from a DataFrame to using seaborn with a single DataFrame, i.e. the following works fine:

Convert x same size 2D numpy arrays to a 2+x column data frame

I have two ndarrays of size (m x n), and two lists of length m and n respectively. I want to convert the two matrices to a dataframe with four columns. The first two columns correspond to the m and n dimensions, and contain the values from the lists. The next two columns should contain the values from the two matrices. In total, the resulting dataframe should have m times n rows.