Open K20shores opened 3 years ago
Oh, I see. I missed a line. Why can't you grab the last axes instance (axes[-1]
) instead of creating another one?
I would like to note that an alternative to this might be using subfigures, since joypy, as it stands right now, uses multiple axes within the same figure. Therefore, you can combine joypy with other graphics probably in an easier way with subfigures than trying to use gridspec.
I'd like to add a plot, side-by-side the joyplot, showing all of the distributions on one plot. I am successful at doing that, but something is weird with the xticks. I've been looking through the code at how the xticks are set and I don't see why what is in your package would be wrong.
The problem can be seen in the figure below. It looks like the xticks are being set relative to the figure size and not the last axes instance. Would you happen to know what's going on here? Because I sure don't. Any thoughts would be appreciated.
The figure:
The code: