You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the hyp.plot function within a for loop, to create a new figure with new input data in each iteration the loop. However, the PCA plot does not update with every loop, but instead every plot looks the same as the first plot (i.e, the one generated in the first iteration of the loop). I have checked via debugging that the data is indeed new in every loop, and it works fine when I use matplotlib to plot the same data in the loop. Do you know what might be causing this behaviour, and how to fix it? I assumed there must be some state dependency within the hypertools library, and I found you're using a memoize decorator, that might be causing this problem? I tried to re-import the library with every iteration of the loop, but that unfortunately did not fix the problem.
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for creating this awesome toolbox!
I'm using the hyp.plot function within a for loop, to create a new figure with new input data in each iteration the loop. However, the PCA plot does not update with every loop, but instead every plot looks the same as the first plot (i.e, the one generated in the first iteration of the loop). I have checked via debugging that the data is indeed new in every loop, and it works fine when I use matplotlib to plot the same data in the loop. Do you know what might be causing this behaviour, and how to fix it? I assumed there must be some state dependency within the hypertools library, and I found you're using a memoize decorator, that might be causing this problem? I tried to re-import the library with every iteration of the loop, but that unfortunately did not fix the problem.
The text was updated successfully, but these errors were encountered: