This is a pretty simple question about matplotlib, but I can't figure out how to do this:
I want to build several shapes and use the arrow in the chart window to move from one to another.
while I just know how to create mutilny charts and build them in different windows, for example:
import matplotlib.pyplot as plt fig = plt.figure() plt.figure(1) n= plt.bar([1,2,3,4],[1,2,3,4]) plt.figure(2) n= plt.bar([1,2,3,4],[-1,-2,-3,-4]) plt.show()
or with multiple shapes in one window using a subtitle.
How can I use mutliple plot in one window and move from one to another with arrows?
Thanks in advance.
source share