I have an "old" version of python on Windows 7: 2.7.13 and matplotlib 2.2.3 and have stumbled into a problem that might have been fixed in later versions. If so, then I'll upgrade... Has it been solved?
For plotting multiaxes, I have some success with mutiple y-axes. Matplotlib documentation gives three examples, .e.g https://matplotlib.org/gallery/axisartist/demo_parasite_axes2.html
All three work for me, except.... if I choose backend WebAgg then Crtl-C is very flaky. Takes maybe a dozen clicks to finally close the server and even then takes a little while to return me a cursor. If I use TkAgg then I do not have any issue at all. I am fond of the WebAgg interface, so would like to solve this.
But maybe there's something simple to add to the code. I tried plt.draw() before plt.show() did nothing. I tried adding my own SIGINT handler but plt.show overruled it.
Appreciate any thoughts.